Added Ajax loading icon for submit buttons

This commit is contained in:
Frederic Guillot
2016-03-05 07:56:58 -05:00
parent 9b68c3bc77
commit 0bd5328c19
79 changed files with 87 additions and 81 deletions

View File

@@ -13,7 +13,7 @@
<?= $this->form->checkbox('another_subtask', t('Create another sub-task'), 1, isset($values['another_subtask']) && $values['another_subtask'] == 1) ?>
<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'), 'task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'close-popover') ?>
</div>