summaryrefslogtreecommitdiff
path: root/app/Template/user_new.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-02 15:06:41 -0500
commit37332ae2222706f8fb330dae780dc938512edcf5 (patch)
tree9161d539cc289179339162d6922c4d9dd2c30e63 /app/Template/user_new.php
parent8fe5df39d97ef851d11931fcf7e906ec08838ef7 (diff)
Change layout (experimental)
Diffstat (limited to 'app/Template/user_new.php')
-rw-r--r--app/Template/user_new.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Template/user_new.php b/app/Template/user_new.php
index 158813cb..1e483ade 100644
--- a/app/Template/user_new.php
+++ b/app/Template/user_new.php
@@ -1,12 +1,11 @@
<section id="main">
<div class="page-header">
- <h2><?= t('New user') ?></h2>
<ul>
- <li><a href="?controller=user"><?= t('All users') ?></a></li>
+ <li><i class="fa fa-user fa-fw"></i><?= Helper\a(t('All users'), 'user', 'index') ?></li>
</ul>
</div>
<section>
- <form method="post" action="?controller=user&amp;action=save" autocomplete="off">
+ <form method="post" action="<?= Helper\u('user', 'save') ?>" autocomplete="off">
<?= Helper\form_csrf() ?>
@@ -32,7 +31,7 @@
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
- <?= t('or') ?> <a href="?controller=user"><?= t('cancel') ?></a>
+ <?= t('or') ?> <?= Helper\a(t('cancel'), 'user', 'index') ?>
</div>
</form>
</section>