summaryrefslogtreecommitdiff
path: root/app/Template/user_credential/password.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2017-01-08 21:51:43 -0500
committerFrederic Guillot <fred@kanboard.net>2017-01-08 21:51:43 -0500
commit5bd19ee64d0cb5a3ebb434e90e0cdeeb60295c49 (patch)
treeebcaf4f98f870017cadc3cabb95632bded2cc327 /app/Template/user_credential/password.php
parent36de36dad9928fd5d61a8bd4be45c79707f1aaae (diff)
Improve user views layout
Diffstat (limited to 'app/Template/user_credential/password.php')
-rw-r--r--app/Template/user_credential/password.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/app/Template/user_credential/password.php b/app/Template/user_credential/password.php
index 5a6e4403..bd7a47da 100644
--- a/app/Template/user_credential/password.php
+++ b/app/Template/user_credential/password.php
@@ -6,14 +6,16 @@
<?= $this->form->hidden('id', $values) ?>
<?= $this->form->csrf() ?>
- <?= $this->form->label(t('Current password for the user "%s"', $this->user->getFullname()), 'current_password') ?>
- <?= $this->form->password('current_password', $values, $errors) ?>
+ <fieldset>
+ <?= $this->form->label(t('Current password for the user "%s"', $this->user->getFullname()), 'current_password') ?>
+ <?= $this->form->password('current_password', $values, $errors) ?>
- <?= $this->form->label(t('New password for the user "%s"', $this->user->getFullname($user)), 'password') ?>
- <?= $this->form->password('password', $values, $errors) ?>
+ <?= $this->form->label(t('New password for the user "%s"', $this->user->getFullname($user)), 'password') ?>
+ <?= $this->form->password('password', $values, $errors) ?>
- <?= $this->form->label(t('Confirmation'), 'confirmation') ?>
- <?= $this->form->password('confirmation', $values, $errors) ?>
+ <?= $this->form->label(t('Confirmation'), 'confirmation') ?>
+ <?= $this->form->password('confirmation', $values, $errors) ?>
+ </fieldset>
<div class="form-actions">
<button type="submit" class="btn btn-blue"><?= t('Save') ?></button>