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/config/application.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'app/Template/config/application.php') diff --git a/app/Template/config/application.php b/app/Template/config/application.php index f6c9db94..7d4c811d 100644 --- a/app/Template/config/application.php +++ b/app/Template/config/application.php @@ -2,26 +2,26 @@

-
+ - formCsrf() ?> + form->csrf() ?> - formLabel(t('Application URL'), 'application_url') ?> - formText('application_url', $values, $errors, array('placeholder="http://example.kanboard.net/"')) ?>
+ form->label(t('Application URL'), 'application_url') ?> + form->text('application_url', $values, $errors, array('placeholder="http://example.kanboard.net/"')) ?>

- formLabel(t('Language'), 'application_language') ?> - formSelect('application_language', $languages, $values, $errors) ?>
+ form->label(t('Language'), 'application_language') ?> + form->select('application_language', $languages, $values, $errors) ?>
- formLabel(t('Timezone'), 'application_timezone') ?> - formSelect('application_timezone', $timezones, $values, $errors) ?>
+ form->label(t('Timezone'), 'application_timezone') ?> + form->select('application_timezone', $timezones, $values, $errors) ?>
- formLabel(t('Date format'), 'application_date_format') ?> - formSelect('application_date_format', $date_formats, $values, $errors) ?>
+ form->label(t('Date format'), 'application_date_format') ?> + form->select('application_date_format', $date_formats, $values, $errors) ?>

- formLabel(t('Custom Stylesheet'), 'application_stylesheet') ?> - formTextarea('application_stylesheet', $values, $errors) ?>
+ form->label(t('Custom Stylesheet'), 'application_stylesheet') ?> + form->textarea('application_stylesheet', $values, $errors) ?>
-- cgit v1.2.3