From 34d7450d3c13342715e90ec21bceaa13e1baa876 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 11:28:50 -0500 Subject: Template helpers refactoring --- app/Template/user/password.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/Template/user/password.php') diff --git a/app/Template/user/password.php b/app/Template/user/password.php index 76e0ab15..14de0d42 100644 --- a/app/Template/user/password.php +++ b/app/Template/user/password.php @@ -2,25 +2,25 @@

-
+ - - + formHidden('id', $values) ?> + formCsrf() ?>
- -
+ formLabel(t('Current password for the user "%s"', $this->getFullname()), 'current_password') ?> + formPassword('current_password', $values, $errors) ?>
- -
+ formLabel(t('New password for the user "%s"', $this->getFullname($user)), 'password') ?> + formPassword('password', $values, $errors) ?>
- -
+ formLabel(t('Confirmation'), 'confirmation') ?> + formPassword('confirmation', $values, $errors) ?>
- $user['id'])) ?> + a(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>
-- cgit v1.2.3