19 lines
722 B
Elixir
19 lines
722 B
Elixir
|
<h2>Change Password</h2>
|
||
|
|
||
|
<%= form_tag Routes.account_path(@conn, :do_change_password), method: :post do %>
|
||
|
<div class="form-group">
|
||
|
<label for="old_password">Old Password</label>
|
||
|
<input type="password" name="old_password" id="old_password" minlength="8">
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="new_password">New Password</label>
|
||
|
<input type="password" name="new_password" id="new_password" minlength="8">
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="confirm_new_password">Confirm New Password</label>
|
||
|
<input type="password" name="confirm_new_password" id="confirm_new_password" minlength="8">
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<%= submit "Change Password" %>
|
||
|
</div>
|
||
|
<% end %>
|