[#184] small refactoring reset password
This commit is contained in:
parent
1ab8a9e4fe
commit
a0c4ebb4d7
14 changed files with 142 additions and 60 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<h2>Password Reset for <%= @user.nickname %></h2>
|
||||
<%= form_for @conn, util_path(@conn, :password_reset), [as: "data"], fn f -> %>
|
||||
<%= form_for @conn, reset_password_path(@conn, :do_reset), [as: "data"], fn f -> %>
|
||||
<div class="form-row">
|
||||
<%= label f, :password, "Password" %>
|
||||
<%= password_input f, :password %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue