OfficeMomsandDads/scheduler

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

Summary

Maintainability
Test Coverage
- content_for :page_header do
  .header-text Resend Confirmation Instructions
= form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
  .grid-x.align-center
    .cell.small-12.medium-8.large-4
      = f.label :email do
        Email
        = f.email_field :email, autofocus: true, autocomplete: "email", value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email)
  .grid-x.align-center
    .cell.small-12.medium-8.large-4
      .actions
        = f.submit "Resend confirmation instructions", class: 'button primary'
  .grid-x.align-center.grid-padding-y
    .cell.small-12.medium-8.large-4
      .actions
        = render "devise/shared/links"