summaryrefslogtreecommitdiff
path: root/app/Template/currency/create.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 21:08:33 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 21:08:33 -0500
commit47f4bceb1aea51bda9211a16d635b7a0f9664976 (patch)
tree3203b087f33498b91da6d89338772798263c16d7 /app/Template/currency/create.php
parent1078cac70d079ee0917b1a540a9f0633661ec303 (diff)
Improve currencies pages navigation
Diffstat (limited to 'app/Template/currency/create.php')
-rw-r--r--app/Template/currency/create.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/Template/currency/create.php b/app/Template/currency/create.php
new file mode 100644
index 00000000..578ece81
--- /dev/null
+++ b/app/Template/currency/create.php
@@ -0,0 +1,11 @@
+<div class="page-header">
+ <h2><?= t('Add or change currency rate') ?></h2>
+</div>
+<form method="post" action="<?= $this->url->href('CurrencyController', 'save') ?>" autocomplete="off">
+ <?= $this->form->csrf() ?>
+ <?= $this->form->label(t('Currency'), 'currency') ?>
+ <?= $this->form->select('currency', $currencies, $values, $errors) ?>
+ <?= $this->form->label(t('Rate'), 'rate') ?>
+ <?= $this->form->text('rate', $values, $errors, array('autofocus'), 'form-numeric') ?>
+ <?= $this->modal->submitButtons() ?>
+</form>