Commit e5075614 authored by gloria's avatar gloria
Browse files

refactor: change box position to ask first the current password

Change the box that asks for the current password to the first place, it
was the last box.
parent 0c371f10
......@@ -45,14 +45,14 @@
<h3><%=l 'Change password' %></h3>
<form method='post' enctype="multipart/form-data">
<div class="from-group row">
<label for="password" class="col-xl-3 col-form-label"><%=l 'Current Password:' %></label><input type='password' name='current_password' id='current_password'>
</div>
<div class="from-group row">
<label for="password" class="col-xl-3 col-form-label"><%=l 'New Password:' %></label><input type= 'password' name= 'password' id='password'>
</div>
<div class="from-group row">
<label for="password" class="col-xl-3 col-form-label"><%=l 'Confirm Password:' %></label><input type='password' name='conf_password' id='conf_password'>
</div>
<div class="from-group row">
<label for="password" class="col-xl-3 col-form-label"><%=l 'Current Password:' %></label><input type='password' name='current_password' id='current_password'>
</div>
% if (scalar @$errors) {
<div class="alert alert-danger mt-2">
% for (@$errors) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment