From eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 24 May 2015 16:02:25 -0400 Subject: Helpers refactoring --- app/Template/currency/index.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/Template/currency/index.php') diff --git a/app/Template/currency/index.php b/app/Template/currency/index.php index 7839a142..f72c5700 100644 --- a/app/Template/currency/index.php +++ b/app/Template/currency/index.php @@ -24,12 +24,12 @@

-
+ - formCsrf() ?> + form->csrf() ?> - formLabel(t('Reference currency'), 'application_currency') ?> - formSelect('application_currency', $currencies, $config_values, $errors) ?>
+ form->label(t('Reference currency'), 'application_currency') ?> + form->select('application_currency', $currencies, $config_values, $errors) ?>
@@ -38,15 +38,15 @@

- + - formCsrf() ?> + form->csrf() ?> - formLabel(t('Currency'), 'currency') ?> - formSelect('currency', $currencies, $values, $errors) ?>
+ form->label(t('Currency'), 'currency') ?> + form->select('currency', $currencies, $values, $errors) ?>
- formLabel(t('Rate'), 'rate') ?> - formText('rate', $values, $errors, array(), 'form-numeric') ?>
+ form->label(t('Rate'), 'rate') ?> + form->text('rate', $values, $errors, array(), 'form-numeric') ?>
-- cgit v1.2.3