summaryrefslogtreecommitdiff
path: root/app/Template/category
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/category')
-rw-r--r--app/Template/category/index.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/Template/category/index.php b/app/Template/category/index.php
index 8a3eb4f1..bd275a67 100644
--- a/app/Template/category/index.php
+++ b/app/Template/category/index.php
@@ -1,8 +1,7 @@
+<?php if (! empty($categories)): ?>
<div class="page-header">
<h2><?= t('Categories') ?></h2>
</div>
-
-<?php if (! empty($categories)): ?>
<table>
<tr>
<th><?= t('Category Name') ?></th>
@@ -26,7 +25,9 @@
</table>
<?php endif ?>
-<h3><?= t('Add a new category') ?></h3>
+<div class="page-header">
+ <h2><?= t('Add a new category') ?></h2>
+</div>
<form method="post" action="<?= Helper\u('category', 'save', array('project_id' => $project['id'])) ?>" autocomplete="off">
<?= Helper\form_csrf() ?>