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

27 lines
1.1 KiB
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 %>
2019-04-01 16:24:22 +00:00
<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>
2019-03-31 15:52:20 +00:00
</div>
2019-04-01 16:24:22 +00:00
<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>
2019-03-31 15:52:20 +00:00
</div>
2019-04-01 16:24:22 +00:00
<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>
2019-03-31 15:52:20 +00:00
</div>
2019-04-01 16:24:22 +00:00
<div class="form-group row">
<div class="col-sm-10">
<%= submit "Change Password", class: "btn btn-primary" %>
</div>
2019-03-31 15:52:20 +00:00
</div>
<% end %>