diff options
Diffstat (limited to 'app/Template/project/new.php')
-rw-r--r-- | app/Template/project/new.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/Template/project/new.php b/app/Template/project/new.php index f3926a65..91db75e1 100644 --- a/app/Template/project/new.php +++ b/app/Template/project/new.php @@ -1,20 +1,20 @@ <section id="main"> <div class="page-header"> <ul> - <li><i class="fa fa-folder fa-fw"></i><?= Helper\a(t('All projects'), 'project', 'index') ?></li> + <li><i class="fa fa-folder fa-fw"></i><?= $this->a(t('All projects'), 'project', 'index') ?></li> </ul> </div> <section> - <form method="post" action="<?= Helper\u('project', 'save') ?>" autocomplete="off"> + <form method="post" action="<?= $this->u('project', 'save') ?>" autocomplete="off"> - <?= Helper\form_csrf() ?> - <?= Helper\form_hidden('is_private', $values) ?> - <?= Helper\form_label(t('Name'), 'name') ?> - <?= Helper\form_text('name', $values, $errors, array('autofocus', 'required')) ?> + <?= $this->formCsrf() ?> + <?= $this->formHidden('is_private', $values) ?> + <?= $this->formLabel(t('Name'), 'name') ?> + <?= $this->formText('name', $values, $errors, array('autofocus', 'required')) ?> <div class="form-actions"> <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> - <?= t('or') ?> <?= Helper\a(t('cancel'), 'project', 'index') ?> + <?= t('or') ?> <?= $this->a(t('cancel'), 'project', 'index') ?> </div> </form> </section> |