lib/generators/authentication/templates/views/password_resets/new.html.erb.tt in authentication-zero-0.0.15 vs lib/generators/authentication/templates/views/password_resets/new.html.erb.tt in authentication-zero-0.0.16
- old
+ new
@@ -3,10 +3,10 @@
<h1>Forgot your password?</h1>
<%%= form_with(url: password_resets_path) do |form| %>
<div>
<%%= form.label :email, style: "display: block" %>
- <%%= form.email_field :email, autofocus: true, required: true %>
+ <%%= form.email_field :email, value: params[:email_hint], autofocus: true, required: true %>
</div>
<div>
<%%= form.submit "Send password reset email" %>
</div>