mirror of
https://github.com/astuto/astuto.git
synced 2025-12-14 18:57:51 +01:00
22 lines
692 B
Plaintext
22 lines
692 B
Plaintext
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %>
|
|
<h2><%= t('common.forms.auth.forgot_password') %></h2>
|
|
|
|
<%= render "devise/shared/error_messages", resource: resource %>
|
|
|
|
<div class="form-group">
|
|
<%= f.label :email, class: "sr-only" %>
|
|
<%= f.email_field :email,
|
|
autofocus: true,
|
|
autocomplete: "email",
|
|
placeholder: t('common.forms.auth.email'),
|
|
required: true,
|
|
class: "form-control" %>
|
|
</div>
|
|
|
|
<div class="actions">
|
|
<%= f.submit t('common.forms.auth.send_reset_password_instructions'), class: "btn btn-dark btn-block" %>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= render "devise/shared/links" %>
|