From 3833c12ccce59bcc49c4cfa892401973558f604d Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 2 Jan 2017 17:01:27 -0500 Subject: Refactoring/rewrite of modal boxes handling --- app/Template/user_creation/local.php | 8 ++------ app/Template/user_creation/remote.php | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) (limited to 'app/Template/user_creation') diff --git a/app/Template/user_creation/local.php b/app/Template/user_creation/local.php index 059a0114..08784925 100644 --- a/app/Template/user_creation/local.php +++ b/app/Template/user_creation/local.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?>
@@ -39,9 +39,5 @@
-
- - - url->link(t('cancel'), 'UserListController', 'show', array(), false, 'close-popover') ?> -
+ modal->submitButtons() ?>
diff --git a/app/Template/user_creation/remote.php b/app/Template/user_creation/remote.php index 41d0d3c7..0f28c1c4 100644 --- a/app/Template/user_creation/remote.php +++ b/app/Template/user_creation/remote.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> form->hidden('is_ldap_user', array('is_ldap_user' => 1)) ?> @@ -37,11 +37,7 @@ -
- - - url->link(t('cancel'), 'UserListController', 'show', array(), false, 'close-popover') ?> -
+ modal->submitButtons() ?>