summaryrefslogtreecommitdiff
path: root/app/Template/link/create.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/link/create.php')
-rw-r--r--app/Template/link/create.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/link/create.php b/app/Template/link/create.php
index 12589574..2b4ac62c 100644
--- a/app/Template/link/create.php
+++ b/app/Template/link/create.php
@@ -2,15 +2,15 @@
<h2><?= t('Add a new link') ?></h2>
</div>
-<form action="<?= $this->u('link', 'save') ?>" method="post" autocomplete="off">
+<form action="<?= $this->url->href('link', 'save') ?>" method="post" autocomplete="off">
- <?= $this->formCsrf() ?>
+ <?= $this->form->csrf() ?>
- <?= $this->formLabel(t('Label'), 'label') ?>
- <?= $this->formText('label', $values, $errors, array('required')) ?>
+ <?= $this->form->label(t('Label'), 'label') ?>
+ <?= $this->form->text('label', $values, $errors, array('required')) ?>
- <?= $this->formLabel(t('Opposite label'), 'opposite_label') ?>
- <?= $this->formText('opposite_label', $values, $errors) ?>
+ <?= $this->form->label(t('Opposite label'), 'opposite_label') ?>
+ <?= $this->form->text('opposite_label', $values, $errors) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>