summaryrefslogtreecommitdiff
path: root/app/Template/link/create.php
blob: 125895748f4f40b55d02eb3926f87d4c73df276f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="page-header">
    <h2><?= t('Add a new link') ?></h2>
</div>

<form action="<?= $this->u('link', 'save') ?>" method="post" autocomplete="off">

    <?= $this->formCsrf() ?>

    <?= $this->formLabel(t('Label'), 'label') ?>
    <?= $this->formText('label', $values, $errors, array('required')) ?>

    <?= $this->formLabel(t('Opposite label'), 'opposite_label') ?>
    <?= $this->formText('opposite_label', $values, $errors) ?>

    <div class="form-actions">
        <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
    </div>
</form>