$L->g('Edit Category'), 'icon'=>'tags')); echo Bootstrap::formOpen(array('id'=>'jsform')); echo Bootstrap::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$security->getTokenCSRF() )); echo Bootstrap::formInputHidden(array( 'name'=>'action', 'value'=>'edit' )); echo Bootstrap::formInputHidden(array( 'name'=>'oldKey', 'value'=>$categoryMap['key'] )); echo Bootstrap::formInputTextBlock(array( 'name'=>'name', 'label'=>$L->g('Category name'), 'value'=>$categoryMap['name'], 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputGroupText(array( 'name'=>'newKey', 'label'=>$L->g('Category key'), 'labelInside'=>DOMAIN_CATEGORIES, 'value'=>$categoryMap['key'], 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formTextareaBlock(array( 'name'=>'description', 'label'=>$L->g('Category description'), 'value'=>isset($categoryMap['description'])?$categoryMap['description']:'', 'class'=>'', 'placeholder'=>'', 'tip'=>'', 'rows'=>3 )); echo Bootstrap::formInputTextBlock(array( 'name'=>'template', 'label'=>$L->g('Category template'), 'value'=>isset($categoryMap['template'])?$categoryMap['template']:'', 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo '
'.$L->g('Cancel').'
'; echo Bootstrap::formClose(); ?> 'Delete', 'buttonPrimaryClass'=>'jsbuttonDeleteAccept', 'buttonSecondary'=>'Cancel', 'buttonSecondaryClass'=>'', 'modalTitle'=>'Delete category', 'modalText'=>'Are you sure you want to delete the category ?', 'modalId'=>'jsdeleteModal' )); ?>