<% provide :title do %><%= t("devise_views.confirmations.new.title") %><% end %>

<%= t("devise_views.confirmations.new.title") %>

<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> <%= render 'shared/errors', resource: resource %>
<%= f.email_field :email, autofocus: true, placeholder: t("devise_views.confirmations.new.email_label"), value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %> <% if @requires_password %>

<%= f.password_field :password %>

<%= f.password_field :password_confirmation %>

<% end %> <%= hidden_field_tag :confirmation_token,@confirmation_token %>
<%= f.submit(t("devise_views.confirmations.new.submit"), class: "button expanded") %>
<% end %> <%= render "devise/shared/links" %>