2017-04-17 12:49:03 +02:00
|
|
|
<?php
|
|
|
|
|
2017-04-26 20:16:34 +02:00
|
|
|
HTML::title(array('title'=>$L->g('New Category'), 'icon'=>'tag'));
|
2017-04-17 12:49:03 +02:00
|
|
|
|
|
|
|
HTML::formOpen(array('class'=>'uk-form-horizontal'));
|
|
|
|
|
|
|
|
HTML::formInputHidden(array(
|
|
|
|
'name'=>'tokenCSRF',
|
|
|
|
'value'=>$Security->getTokenCSRF()
|
|
|
|
));
|
|
|
|
|
|
|
|
HTML::formInputText(array(
|
|
|
|
'name'=>'category',
|
|
|
|
'label'=>$L->g('Name'),
|
|
|
|
'value'=>'',
|
|
|
|
'class'=>'uk-width-1-2 uk-form-medium'
|
|
|
|
));
|
|
|
|
|
|
|
|
echo '<div class="uk-form-row">
|
|
|
|
<div class="uk-form-controls">
|
|
|
|
<button type="submit" class="uk-button uk-button-primary">'.$L->g('Save').'</button>
|
2017-04-17 13:23:43 +02:00
|
|
|
<a href="'.HTML_PATH_ADMIN_ROOT.'categories" class="uk-button">'.$L->g('Cancel').'</a>
|
2017-04-17 12:49:03 +02:00
|
|
|
</div>
|
|
|
|
</div>';
|
|
|
|
|
|
|
|
HTML::formClose();
|