summaryrefslogtreecommitdiff
path: root/app/Template/link/create.php
blob: 37610a3b814e33bab6600d43c319a7a4e580f93e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="page-header">
    <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', 'autofocus')) ?>
    <?= $this->form->label(t('Opposite label'), 'opposite_label') ?>
    <?= $this->form->text('opposite_label', $values, $errors) ?>
    <?= $this->modal->submitButtons() ?>
</form>