[#184] small refactoring reset password

This commit is contained in:
Maksim 2019-06-24 19:01:56 +00:00 committed by kaniini
commit a0c4ebb4d7
14 changed files with 142 additions and 60 deletions

View file

@ -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 %>