diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-05 07:56:58 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-05 07:56:58 -0500 |
commit | 0bd5328c19b076a23719b3860296e5507c773d34 (patch) | |
tree | 1eca50843fabb966c1c5ee6441ea23ccf1dca989 /app/Template/project | |
parent | 9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff) |
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template/project')
-rw-r--r-- | app/Template/project/duplicate.php | 2 | ||||
-rw-r--r-- | app/Template/project/notifications.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/Template/project/duplicate.php b/app/Template/project/duplicate.php index ca7d3302..7cfa8969 100644 --- a/app/Template/project/duplicate.php +++ b/app/Template/project/duplicate.php @@ -20,7 +20,7 @@ <?= $this->form->checkbox('task', t('Tasks'), 1, false) ?> <div class="form-actions"> - <input type="submit" value="<?= t('Duplicate') ?>" class="btn btn-red"> + <button type="submit" class="btn btn-red"><?= t('Duplicate') ?></button> <?= t('or') ?> <?= $this->url->link(t('cancel'), 'project', 'show', array('project_id' => $project['id'])) ?> </div> </form> diff --git a/app/Template/project/notifications.php b/app/Template/project/notifications.php index b39d6c05..494a322a 100644 --- a/app/Template/project/notifications.php +++ b/app/Template/project/notifications.php @@ -12,7 +12,7 @@ <?= $this->form->checkboxes('notification_types', $types, $notifications) ?> <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'), 'project', 'show', array('project_id' => $project['id'])) ?> </div> |