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/group_modification/show.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/Template/group_modification') diff --git a/app/Template/group_modification/show.php b/app/Template/group_modification/show.php index ddf07369..df4ed01e 100644 --- a/app/Template/group_modification/show.php +++ b/app/Template/group_modification/show.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> form->hidden('id', $values) ?> @@ -10,9 +10,5 @@ form->label(t('Name'), 'name') ?> form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="100"')) ?> -
- - - url->link(t('cancel'), 'GroupListController', 'index', array(), false, 'close-popover') ?> -
+ modal->submitButtons() ?>
-- cgit v1.2.3