summaryrefslogtreecommitdiff
path: root/app/Template/currency/change.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/change.php
parent1078cac70d079ee0917b1a540a9f0633661ec303 (diff)
Improve currencies pages navigation
Diffstat (limited to 'app/Template/currency/change.php')
-rw-r--r--app/Template/currency/change.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/Template/currency/change.php b/app/Template/currency/change.php
new file mode 100644
index 00000000..59a7ce37
--- /dev/null
+++ b/app/Template/currency/change.php
@@ -0,0 +1,9 @@
+<div class="page-header">
+ <h2><?= t('Change reference currency') ?></h2>
+</div>
+<form method="post" action="<?= $this->url->href('CurrencyController', 'update') ?>" autocomplete="off">
+ <?= $this->form->csrf() ?>
+ <?= $this->form->label(t('Reference currency'), 'application_currency') ?>
+ <?= $this->form->select('application_currency', $currencies, $values, $errors) ?>
+ <?= $this->modal->submitButtons() ?>
+</form>