app.kluk.fr/app/views/passwords/new.html.erb

11 lines
428 B
Text
Raw Normal View History

2026-09-29 06:34:43 +02:00
<article class="texte">
<h1>Forgot your password?</h1>
2026-01-12 15:52:27 +01:00
2026-09-29 06:34:43 +02:00
<%= tag.div(flash[:alert], style: "color:red") if flash[:alert] %>
2026-01-12 15:52:27 +01:00
2026-09-29 06:34:43 +02:00
<%= form_with url: passwords_path do |form| %>
<%= form.email_field :email_address, required: true, autofocus: true, autocomplete: "username", placeholder: "Enter your email address", value: params[:email_address] %><br>
<%= form.submit "Email reset instructions" %>
<% end %>
</article>