2019-03-31 15:52:20 +00:00
|
|
|
<h2>Change Password</h2>
|
|
|
|
|
|
|
|
<%= form_tag Routes.account_path(@conn, :do_change_password), method: :post do %>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<label for="old_password" class="col-sm-2 col-form-label">Old Password</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="password" name="old_password" id="old_password" minlength="8" class="form-control">
|
|
|
|
</div>
|
2019-03-31 15:52:20 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<label for="new_password" class="col-sm-2 col-form-label">New Password</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="password" name="new_password" id="new_password" minlength="8" class="form-control">
|
|
|
|
</div>
|
2019-03-31 15:52:20 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<label for="confirm_new_password" class="col-sm-2 col-form-label">Confirm New Password</label>
|
|
|
|
<div class="col-sm-10">
|
|
|
|
<input type="password" name="confirm_new_password" id="confirm_new_password" minlength="8" class="form-control">
|
|
|
|
</div>
|
2019-03-31 15:52:20 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<div class="row mb-2">
|
2019-04-01 16:24:22 +00:00
|
|
|
<div class="col-sm-10">
|
|
|
|
<%= submit "Change Password", class: "btn btn-primary" %>
|
|
|
|
</div>
|
2019-03-31 15:52:20 +00:00
|
|
|
</div>
|
2022-09-14 02:25:11 +00:00
|
|
|
<% end %>
|