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/column_restriction/create.php | 32 ++++++++++++------------------ 1 file changed, 13 insertions(+), 19 deletions(-) (limited to 'app/Template/column_restriction/create.php') diff --git a/app/Template/column_restriction/create.php b/app/Template/column_restriction/create.php index 982733b4..be158f19 100644 --- a/app/Template/column_restriction/create.php +++ b/app/Template/column_restriction/create.php @@ -1,22 +1,16 @@ -
- -
- form->csrf() ?> - form->hidden('project_id', $values) ?> - form->hidden('role_id', $values) ?> + + + form->csrf() ?> + form->hidden('project_id', $values) ?> + form->hidden('role_id', $values) ?> - form->label(t('Rule'), 'rule') ?> - form->select('rule', $rules, $values, $errors) ?> + form->label(t('Rule'), 'rule') ?> + form->select('rule', $rules, $values, $errors) ?> - form->label(t('Column'), 'column_id') ?> - form->select('column_id', $columns, $values, $errors) ?> + form->label(t('Column'), 'column_id') ?> + form->select('column_id', $columns, $values, $errors) ?> -
- - - url->link(t('cancel'), 'ProjectRoleController', 'show', array(), false, 'close-popover') ?> -
-
-
+ modal->submitButtons() ?> + -- cgit v1.2.3