1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/app/Template/link/create.php
2015-08-16 17:04:57 +02:00

18 lines
No EOL
584 B
PHP

<div class="page-header">
<h2><?= t('Add a new link') ?></h2>
</div>
<form action="<?= $this->url->href('link', 'save') ?>" method="post" autocomplete="off">
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Label'), 'label') ?>
<?= $this->form->text('label', $values, $errors, array('required')) ?>
<?= $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"/>
</div>
</form>