2015-02-25 17:29:06 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h2><?= t('Add a new link') ?></h2>
|
|
|
|
</div>
|
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<form action="<?= $this->url->href('link', 'save') ?>" method="post" autocomplete="off">
|
2015-02-25 17:29:06 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->csrf() ?>
|
2015-02-25 17:29:06 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->label(t('Label'), 'label') ?>
|
|
|
|
<?= $this->form->text('label', $values, $errors, array('required')) ?>
|
2015-02-25 17:29:06 +01:00
|
|
|
|
2015-08-16 17:04:56 +02:00
|
|
|
<?= $this->form->label(t('Opposite label'), 'opposite_label') ?>
|
|
|
|
<?= $this->form->text('opposite_label', $values, $errors) ?>
|
2015-02-25 17:29:06 +01:00
|
|
|
|
|
|
|
<div class="form-actions">
|
|
|
|
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
|
|
|
|
</div>
|
|
|
|
</form>
|