summaryrefslogtreecommitdiff
path: root/app/Template/category
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-05 07:56:58 -0500
committerFrederic Guillot <fred@kanboard.net>2016-03-05 07:56:58 -0500
commit0bd5328c19b076a23719b3860296e5507c773d34 (patch)
tree1eca50843fabb966c1c5ee6441ea23ccf1dca989 /app/Template/category
parent9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff)
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template/category')
-rw-r--r--app/Template/category/edit.php2
-rw-r--r--app/Template/category/index.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/category/edit.php b/app/Template/category/edit.php
index d788f673..78156e6f 100644
--- a/app/Template/category/edit.php
+++ b/app/Template/category/edit.php
@@ -33,7 +33,7 @@
<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">
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'category', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>
</div>
diff --git a/app/Template/category/index.php b/app/Template/category/index.php
index 7b1adf78..b3bdfd81 100644
--- a/app/Template/category/index.php
+++ b/app/Template/category/index.php
@@ -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