Improve currencies pages navigation

This commit is contained in:
Frederic Guillot
2017-01-08 21:08:33 -05:00
parent 1078cac70d
commit 47f4bceb1a
7 changed files with 101 additions and 67 deletions

View File

@@ -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>