summaryrefslogtreecommitdiff
path: root/app/Template/category/edit.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-02-05 17:22:13 -0500
committerFrederic Guillot <fred@kanboard.net>2016-02-05 17:22:13 -0500
commitfe9d04c3b914f52bdfe0a171fe4046749b2003aa (patch)
tree3946dc05193189a3b301e4dd3d41591c670b88de /app/Template/category/edit.php
parent62fcb7544f64baeca9b0e766ee9343e1c200ec7a (diff)
Add inline popoup for category section
Diffstat (limited to 'app/Template/category/edit.php')
-rw-r--r--app/Template/category/edit.php6
1 files changed, 3 insertions, 3 deletions
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 @@
<h2><?= t('Category modification for the project "%s"', $project['name']) ?></h2>
</div>
-<form method="post" action="<?= $this->url->href('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
+<form class="popover-form" method="post" action="<?= $this->url->href('category', 'update', array('project_id' => $project['id'], 'category_id' => $values['id'])) ?>" autocomplete="off">
<?= $this->form->csrf() ?>
@@ -33,8 +33,8 @@
<div class="form-help"><?= $this->url->doc(t('Write your text in Markdown'), 'syntax-guide') ?></div>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue">
<?= t('or') ?>
- <?= $this->url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id'])) ?>
+ <?= $this->url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
</div>
</form> \ No newline at end of file