View raw

1 <h1>Forgot your password?</h1> 2 3 <%= tag.div(flash[:alert], style: "color:red") if flash[:alert] %> 4 5 <%= form_with url: passwords_path do |form| %> 6 <%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: "Enter your email address", value: params[:email_address] %><br> 7 <%= form.submit "Email reset instructions" %> 8 <% end %> 9