From fe9d04c3b914f52bdfe0a171fe4046749b2003aa Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 5 Feb 2016 17:22:13 -0500 Subject: Add inline popoup for category section --- app/Template/category/edit.php | 6 +++--- app/Template/category/index.php | 4 ++-- app/Template/category/remove.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'app') diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php index 1aae2f2a..d788f673 100644 --- a/app/Template/category/edit.php +++ b/app/Template/category/edit.php @@ -2,7 +2,7 @@

-
+ form->csrf() ?> @@ -33,8 +33,8 @@
url->doc(t('Write your text in Markdown'), 'syntax-guide') ?>
- + - url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id'])) ?> + url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
\ No newline at end of file diff --git a/app/Template/category/index.php b/app/Template/category/index.php index 4602f3b9..e99b6d52 100644 --- a/app/Template/category/index.php +++ b/app/Template/category/index.php @@ -15,10 +15,10 @@ diff --git a/app/Template/category/remove.php b/app/Template/category/remove.php index ce589785..cad58d37 100644 --- a/app/Template/category/remove.php +++ b/app/Template/category/remove.php @@ -11,7 +11,7 @@
url->link(t('Yes'), 'category', 'remove', array('project_id' => $project['id'], 'category_id' => $category['id']), true, 'btn btn-red') ?> - url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id'])) ?> + url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
\ No newline at end of file -- cgit v1.2.3