summaryrefslogtreecommitdiff
path: root/app/Template/link/create.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 21:18:54 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 21:18:54 -0500
commit0960a4d0b00c9491b554cd49557b052414168e86 (patch)
tree5b5d58917b9eb7d3cbf23a4312be46a35d2b5fb4 /app/Template/link/create.php
parent47f4bceb1aea51bda9211a16d635b7a0f9664976 (diff)
Improve link labels pages navigation
Diffstat (limited to 'app/Template/link/create.php')
-rw-r--r--app/Template/link/create.php12
1 files changed, 3 insertions, 9 deletions
diff --git a/app/Template/link/create.php b/app/Template/link/create.php
index 23990604..37610a3b 100644
--- a/app/Template/link/create.php
+++ b/app/Template/link/create.php
@@ -1,18 +1,12 @@
<div class="page-header">
- <h2><?= t('Add a new link') ?></h2>
+ <h2><?= t('Add link label') ?></h2>
</div>
<form action="<?= $this->url->href('LinkController', 'save') ?>" method="post" autocomplete="off">
-
<?= $this->form->csrf() ?>
-
<?= $this->form->label(t('Label'), 'label') ?>
- <?= $this->form->text('label', $values, $errors, array('required')) ?>
-
+ <?= $this->form->text('label', $values, $errors, array('required', 'autofocus')) ?>
<?= $this->form->label(t('Opposite label'), 'opposite_label') ?>
<?= $this->form->text('opposite_label', $values, $errors) ?>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
- </div>
+ <?= $this->modal->submitButtons() ?>
</form>