12 lines
446 B
PHP
12 lines
446 B
PHP
<div class="page-header">
|
|
<h2><?= t('Add a new category') ?></h2>
|
|
</div>
|
|
<form method="post" action="<?= $this->url->href('CategoryController', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
|
|
<?= $this->form->csrf() ?>
|
|
|
|
<?= $this->form->label(t('Category Name'), 'name') ?>
|
|
<?= $this->form->text('name', $values, $errors, array('autofocus', 'required')) ?>
|
|
|
|
<?= $this->modal->submitButtons() ?>
|
|
</form>
|