diff options
Diffstat (limited to 'app/Template/project/new.php')
-rw-r--r-- | app/Template/project/new.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app/Template/project/new.php b/app/Template/project/new.php new file mode 100644 index 00000000..f3926a65 --- /dev/null +++ b/app/Template/project/new.php @@ -0,0 +1,21 @@ +<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> + </ul> + </div> + <section> + <form method="post" action="<?= Helper\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')) ?> + + <div class="form-actions"> + <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/> + <?= t('or') ?> <?= Helper\a(t('cancel'), 'project', 'index') ?> + </div> + </form> + </section> +</section>
\ No newline at end of file |