summaryrefslogtreecommitdiff
path: root/app/Template/category/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/category/index.php')
-rw-r--r--app/Template/category/index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/Template/category/index.php b/app/Template/category/index.php
index 4602f3b9..b3bdfd81 100644
--- a/app/Template/category/index.php
+++ b/app/Template/category/index.php
@@ -9,16 +9,16 @@
</tr>
<?php foreach ($categories as $category_id => $category_name): ?>
<tr>
- <td><?= $this->e($category_name) ?></td>
+ <td><?= $this->text->e($category_name) ?></td>
<td>
<div class="dropdown">
<a href="#" class="dropdown-menu dropdown-menu-link-icon"><i class="fa fa-cog fa-fw"></i><i class="fa fa-caret-down"></i></a>
<ul>
<li>
- <?= $this->url->link(t('Edit'), 'category', 'edit', array('project_id' => $project['id'], 'category_id' => $category_id)) ?>
+ <?= $this->url->link(t('Edit'), 'category', 'edit', array('project_id' => $project['id'], 'category_id' => $category_id), false, 'popover') ?>
</li>
<li>
- <?= $this->url->link(t('Remove'), 'category', 'confirm', array('project_id' => $project['id'], 'category_id' => $category_id)) ?>
+ <?= $this->url->link(t('Remove'), 'category', 'confirm', array('project_id' => $project['id'], 'category_id' => $category_id), false, 'popover') ?>
</li>
</ul>
</div>
@@ -40,6 +40,6 @@
<?= $this->form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
</div>
</form> \ No newline at end of file