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/subtask_restriction/show.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'app/Template/subtask_restriction') diff --git a/app/Template/subtask_restriction/show.php b/app/Template/subtask_restriction/show.php index ec8b8d5b..b6c56a12 100644 --- a/app/Template/subtask_restriction/show.php +++ b/app/Template/subtask_restriction/show.php @@ -1,7 +1,7 @@ -
+ form->csrf() ?> @@ -9,9 +9,5 @@ form->radios('status', $status_list) ?> form->hidden('id', $subtask_inprogress) ?> -
- - - url->link(t('cancel'), 'TaskViewController', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?> -
+ modal->submitButtons() ?>
-- cgit v1.2.3