27 lines
1.1 KiB
Elixir
27 lines
1.1 KiB
Elixir
<h2>Change Password</h2>
|
|
|
|
<%= form_tag Routes.account_path(@conn, :do_change_password), method: :post do %>
|
|
<div class="form-group row">
|
|
<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>
|
|
</div>
|
|
<div class="form-group row">
|
|
<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>
|
|
</div>
|
|
<div class="form-group row">
|
|
<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>
|
|
</div>
|
|
<div class="form-group row">
|
|
<div class="col-sm-10">
|
|
<%= submit "Change Password", class: "btn btn-primary" %>
|
|
</div>
|
|
</div>
|
|
<% end %> |