frenzy/lib/frenzy_web/templates/account/change_password.html.eex

19 lines
722 B
Elixir
Raw Normal View History

2019-03-31 15:52:20 +00:00
<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 %>