From a22b8f3dc73555800caf55768f04a7a2ce4af7f2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Mar 2017 15:24:34 -0500 Subject: Make user actions available from contextual menu --- app/Template/user_credential/password.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/Template/user_credential/password.php') diff --git a/app/Template/user_credential/password.php b/app/Template/user_credential/password.php index bd7a47da..a71ba825 100644 --- a/app/Template/user_credential/password.php +++ b/app/Template/user_credential/password.php @@ -8,7 +8,7 @@
form->label(t('Current password for the user "%s"', $this->user->getFullname()), 'current_password') ?> - form->password('current_password', $values, $errors) ?> + form->password('current_password', $values, $errors, array('autofocus')) ?> form->label(t('New password for the user "%s"', $this->user->getFullname($user)), 'password') ?> form->password('password', $values, $errors) ?> @@ -17,9 +17,5 @@ form->password('confirmation', $values, $errors) ?>
-
- - - url->link(t('cancel'), 'UserViewController', 'show', array('user_id' => $user['id'])) ?> -
+ modal->submitButtons() ?> -- cgit v1.2.3