ArturT/Railstom

View on GitHub
app/views/devise/confirmations/new.html.erb

Summary

Maintainability
Test Coverage
<h2><%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h2>

<%= simple_form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
  <%= f.error_notification %>
  <%= f.full_error :confirmation_token %>

  <div class="form-inputs">
    <%= f.input :email, :required => true, :autofocus => true, placeholder: t('layouts.application.placeholders.email') %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %>
  </div>
<% end %>

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