MAPG-149 make current password the first input element
This commit is contained in:
parent
43775c8f4f
commit
1be51b3e07
@ -9,12 +9,12 @@ $jsFiles = [
|
||||
<h2>Profile</h2>
|
||||
<div class="box">
|
||||
<form id="profileForm" action="/profile" method="post">
|
||||
<input class="big fullWidth" type="password" name="password" placeholder="Current password" autofocus>
|
||||
<hr>
|
||||
<?php /* TODO: disabled for the time being, email modification should be implemented */ ?>
|
||||
<input class="big fullWidth" type="email" name="email" placeholder="Email address" value="<?= $user['email'] ?>" disabled>
|
||||
<input class="big fullWidth marginTop" type="password" name="password_new" placeholder="New password" minlength="6" autofocus>
|
||||
<input class="big fullWidth marginTop" type="password" name="password_new" placeholder="New password" minlength="6">
|
||||
<input class="big fullWidth marginTop" type="password" name="password_new_confirm" placeholder="New password confirmation" minlength="6">
|
||||
<hr>
|
||||
<input class="big fullWidth" type="password" name="password" placeholder="Current password">
|
||||
<p id="profileFormError" class="formError justify marginTop"></p>
|
||||
<div class="right marginTop">
|
||||
<button type="submit" name="save" disabled>Save</button>
|
||||
|
Loading…
Reference in New Issue
Block a user