summaryrefslogtreecommitdiff
path: root/app/Template/comment
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/comment
parent9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff)
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template/comment')
-rw-r--r--app/Template/comment/create.php2
-rw-r--r--app/Template/comment/edit.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/comment/create.php b/app/Template/comment/create.php
index 15dd3a8e..574eec9f 100644
--- a/app/Template/comment/create.php
+++ b/app/Template/comment/create.php
@@ -37,7 +37,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>
<?php if (! isset($skip_cancel)): ?>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
diff --git a/app/Template/comment/edit.php b/app/Template/comment/edit.php
index 6db952cc..ad6f58fb 100644
--- a/app/Template/comment/edit.php
+++ b/app/Template/comment/edit.php
@@ -29,7 +29,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('Update') ?>" class="btn btn-blue">
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
</div>