Merge branch 'add-module-ant_creationcategories' into develop
This commit is contained in:
commit
18259bfaa0
@ -281,7 +281,7 @@ class HelperFormBootstrap{
|
||||
<label class="control-label '.(isset($p['label-class']) ? $p['label-class'] : '').'" for="'.(isset($p['id']) ? $p['id'] : $p['name']).'">'.$p['label'].'</label>
|
||||
<div class="'.(isset($p['input-class']) ? $p['input-class'] : '').'">
|
||||
<input name="'.$p['name'].'" id="'.(isset($p['id']) ? $p['id'] : $p['name']).'" type="text" class="tags form-control" value="'.(isset($p['default']) ? $p['default'] : '').'" />
|
||||
<div id="'.(isset($p['input-tag']) ? $p['input-tag'] : '').'" style="position: relative; float: left; width: 250px; margin: 10px;"></div>
|
||||
<p id="'.(isset($p['input-tag']) ? $p['input-tag'] : '').'"><i>'.(isset($p['info']) ? $p['info'] : '').'</i></p>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
|
@ -118,6 +118,7 @@ class AdminAntCreationcategories extends AdminTab
|
||||
'input-class' => 'col-md-6',
|
||||
'name' => 'subcategories',
|
||||
'id_tag' => 'tag_subcategories',
|
||||
'info' => 'Renseigner un nom et ajouter en appuyant sur Entrer<br>Ajouter autant de nom que de catégories souhaitées'
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -157,6 +158,7 @@ class AdminAntCreationcategories extends AdminTab
|
||||
'input-class' => 'col-md-6',
|
||||
'name' => 'subcategories2',
|
||||
'id_tag' => 'tag_subcategories2',
|
||||
'info' => 'Renseigner un nom et ajouter en appuyant sur Entrer<br>Ajouter autant de nom que de catégories souhaitées'
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -188,10 +190,12 @@ class AdminAntCreationcategories extends AdminTab
|
||||
|
||||
$(document).ready(function() {
|
||||
$(\'#subcategories\').tagsInput({
|
||||
width: \'auto\'
|
||||
width: \'auto\',
|
||||
defaultText:\'Nom\',
|
||||
});
|
||||
$(\'#subcategories2\').tagsInput({
|
||||
width: \'auto\'
|
||||
width: \'auto\',
|
||||
defaultText:\'Nom\',
|
||||
});
|
||||
});
|
||||
</script>';
|
||||
|
Loading…
Reference in New Issue
Block a user