summaryrefslogtreecommitdiff
path: root/app/Template/action
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/action
parent9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff)
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template/action')
-rw-r--r--app/Template/action/event.php2
-rw-r--r--app/Template/action/index.php2
-rw-r--r--app/Template/action/params.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/action/event.php b/app/Template/action/event.php
index b4741a98..f4f12db3 100644
--- a/app/Template/action/event.php
+++ b/app/Template/action/event.php
@@ -18,7 +18,7 @@
</div>
<div class="form-actions">
- <input type="submit" value="<?= t('Next step') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Next step') ?></button>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?>
</div>
diff --git a/app/Template/action/index.php b/app/Template/action/index.php
index f3165251..6e9c16a5 100644
--- a/app/Template/action/index.php
+++ b/app/Template/action/index.php
@@ -70,6 +70,6 @@
<?= $this->form->select('action_name', $available_actions, $values) ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Next step') ?>" class="btn btn-blue">
+ <button type="submit" class="btn btn-blue"><?= t('Next step') ?></button>
</div>
</form> \ No newline at end of file
diff --git a/app/Template/action/params.php b/app/Template/action/params.php
index a2350dea..99e9206f 100644
--- a/app/Template/action/params.php
+++ b/app/Template/action/params.php
@@ -42,7 +42,7 @@
<?php endforeach ?>
<div class="form-actions">
- <input type="submit" value="<?= t('Save this action') ?>" class="btn btn-blue"/>
+ <button type="submit" class="btn btn-blue"><?= t('Save') ?></button>
<?= t('or') ?>
<?= $this->url->link(t('cancel'), 'action', 'index', array('project_id' => $project['id'])) ?>
</div>