Templates cleanup

This commit is contained in:
Frederic Guillot
2016-01-31 12:15:26 -05:00
parent e81fa0ebd2
commit 1500ff92b2
20 changed files with 47 additions and 61 deletions

View File

@@ -29,10 +29,10 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Reference currency'), 'application_currency') ?>
<?= $this->form->select('application_currency', $currencies, $config_values, $errors) ?><br/>
<?= $this->form->select('application_currency', $currencies, $config_values, $errors) ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
</div>
</form>
@@ -43,12 +43,12 @@
<?= $this->form->csrf() ?>
<?= $this->form->label(t('Currency'), 'currency') ?>
<?= $this->form->select('currency', $currencies, $values, $errors) ?><br/>
<?= $this->form->select('currency', $currencies, $values, $errors) ?>
<?= $this->form->label(t('Rate'), 'rate') ?>
<?= $this->form->text('rate', $values, $errors, array(), 'form-numeric') ?><br/>
<?= $this->form->text('rate', $values, $errors, array(), 'form-numeric') ?>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
</div>
</form>