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/auth/index.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'app/Template/auth/index.php') diff --git a/app/Template/auth/index.php b/app/Template/auth/index.php index b35b1253..8801a512 100644 --- a/app/Template/auth/index.php +++ b/app/Template/auth/index.php @@ -4,24 +4,24 @@

e($errors['login']) ?>

-
+ - formCsrf() ?> + form->csrf() ?> - formLabel(t('Username'), 'username') ?> - formText('username', $values, $errors, array('autofocus', 'required')) ?>
+ form->label(t('Username'), 'username') ?> + form->text('username', $values, $errors, array('autofocus', 'required')) ?>
- formLabel(t('Password'), 'password') ?> - formPassword('password', $values, $errors, array('required')) ?> + form->label(t('Password'), 'password') ?> + form->password('password', $values, $errors, array('required')) ?> - formCheckbox('remember_me', t('Remember Me'), 1) ?>
+ form->checkbox('remember_me', t('Remember Me'), 1) ?>
- a(t('Login with my Google Account'), 'user', 'google') ?> + url->link(t('Login with my Google Account'), 'user', 'google') ?> - a(t('Login with my GitHub Account'), 'user', 'gitHub') ?> + url->link(t('Login with my GitHub Account'), 'user', 'gitHub') ?>
-- cgit v1.2.3