summaryrefslogtreecommitdiff
path: root/app/Template/currency/create.php
blob: 578ece818054a8c76dfddefd3ce946b27f1fe452 (plain)
1
2
3
4
5
6
7
8
9
10
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>