summaryrefslogtreecommitdiff
path: root/app/Template/user
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/user
parent9b68c3bc77bfa49f820afbcb601aaf5174b39bcc (diff)
Added Ajax loading icon for submit buttons
Diffstat (limited to 'app/Template/user')
-rw-r--r--app/Template/user/authentication.php2
-rw-r--r--app/Template/user/create_local.php2
-rw-r--r--app/Template/user/create_remote.php2
-rw-r--r--app/Template/user/edit.php2
-rw-r--r--app/Template/user/notifications.php2
-rw-r--r--app/Template/user/password.php2
6 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/user/authentication.php b/app/Template/user/authentication.php
index 0c08f3fb..6cfd4e57 100644
--- a/app/Template/user/authentication.php
+++ b/app/Template/user/authentication.php
@@ -14,7 +14,7 @@
<?= $this->form->checkbox('disable_login_form', t('Disallow login form'), 1, isset($values['disable_login_form']) && $values['disable_login_form'] == 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'), 'user', 'show', array('user_id' => $user['id'])) ?>
</div>
diff --git a/app/Template/user/create_local.php b/app/Template/user/create_local.php
index 38bd7836..7257456d 100644
--- a/app/Template/user/create_local.php
+++ b/app/Template/user/create_local.php
@@ -44,7 +44,7 @@
</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'), 'user', 'index') ?>
</div>
diff --git a/app/Template/user/create_remote.php b/app/Template/user/create_remote.php
index 7399a010..05acbba1 100644
--- a/app/Template/user/create_remote.php
+++ b/app/Template/user/create_remote.php
@@ -41,7 +41,7 @@
</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'), 'user', 'index') ?>
</div>
diff --git a/app/Template/user/edit.php b/app/Template/user/edit.php
index f7f67fb7..7b51eb73 100644
--- a/app/Template/user/edit.php
+++ b/app/Template/user/edit.php
@@ -28,7 +28,7 @@
<?php endif ?>
<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'), 'user', 'show', array('user_id' => $user['id'])) ?>
</div>
diff --git a/app/Template/user/notifications.php b/app/Template/user/notifications.php
index 7223013c..2a5c8152 100644
--- a/app/Template/user/notifications.php
+++ b/app/Template/user/notifications.php
@@ -22,7 +22,7 @@
<?php endif ?>
<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'), 'user', 'show', array('user_id' => $user['id'])) ?>
</div>
diff --git a/app/Template/user/password.php b/app/Template/user/password.php
index a24a4ee4..ea6e997d 100644
--- a/app/Template/user/password.php
+++ b/app/Template/user/password.php
@@ -19,7 +19,7 @@
<?= $this->form->password('confirmation', $values, $errors) ?>
<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'), 'user', 'show', array('user_id' => $user['id'])) ?>
</div>