summaryrefslogtreecommitdiff
path: root/app/Template/project/new.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-01 21:23:46 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-01 21:23:46 -0500
commit50a9e2ba7db6a155cee75771d73c584d721cf687 (patch)
treecf985e7050b9293e2ec4b13d40689a4a0b10644f /app/Template/project/new.php
parent67eae33fb88e840047a33558de56090d8bcc62fb (diff)
Move project templates to a subfolder
Diffstat (limited to 'app/Template/project/new.php')
-rw-r--r--app/Template/project/new.php21
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