1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/project_new.php

22 lines
844 B
PHP
Raw Normal View History

2014-07-20 12:26:15 +02:00
<section id="main">
<div class="page-header">
2014-11-23 20:13:38 +01:00
<h2><?= empty($values['is_private']) ? t('New project') : t('New private project') ?></h2>
2014-07-20 12:26:15 +02:00
<ul>
2014-11-23 20:13:38 +01:00
<li><?= Helper\a(t('All projects'), 'project', 'index') ?></li>
2014-07-20 12:26:15 +02:00
</ul>
</div>
<section>
2014-11-23 20:13:38 +01:00
<form method="post" action="<?= Helper\u('project', 'save') ?>" autocomplete="off">
2014-07-20 12:26:15 +02:00
<?= Helper\form_csrf() ?>
2014-11-23 20:13:38 +01:00
<?= Helper\form_hidden('is_private', $values) ?>
2014-07-20 12:26:15 +02:00
<?= 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"/>
2014-11-23 20:13:38 +01:00
<?= t('or') ?> <?= Helper\a(t('cancel'), 'project', 'index') ?>
2014-07-20 12:26:15 +02:00
</div>
</form>
</section>
</section>