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>
|