Files
astuto/app/views/devise/unlocks/new.html.erb
Riccardo Graziosi 78049a820c Add internationalization (#114)
🇬🇧 and 🇮🇹
2022-06-05 11:40:43 +02:00

20 lines
644 B
Plaintext

<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
<h2><%= t('common.forms.auth.resend_unlock_instructions') %></h2>
<%= render "devise/shared/error_messages", resource: resource %>
<div class="field">
<%= f.label :email, class: "sr-only" %><br />
<%= f.email_field :email,
autofocus: true,
autocomplete: "email"
placeholder: t('common.forms.auth.email') %>
</div>
<div class="actions">
<%= f.submit t('common.forms.auth.resend_unlock_instructions'), class: "btn btn-dark btn-block" %>
</div>
<% end %>
<%= render "devise/shared/links" %>