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

<%= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %>
  <%= render 'shared/errors', resource: resource %>

  <div class="row">
    <div class="small-12 columns">
      <%= 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 %>
          <p><%= f.password_field :password %></p>
          <p><%= f.password_field :password_confirmation %></p>
      <% end %>

      <%= hidden_field_tag :confirmation_token,@confirmation_token %>

      <%= f.submit(t("devise_views.confirmations.new.submit"), class: "button expanded") %>
    </div>
<% end %>

<%= render "devise/shared/links" %>
