hummingbird-me/hummingbird

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

Summary

Maintainability
Test Coverage
.login-register-card
  .row
    .large-8.columns.large-centered
      .panel.login-box
        %span.login-title= title "Resend confirmation instructions"
        = form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f|
          - unless resource.errors.empty?
            .alert-box.alert= devise_error_messages!

          .input-wrap.signup
            .login-input-wrap
              = f.email_field :email, class: 'login-input', placeholder: 'E-Mail Address', autofocus: true
          .signup-step-buttons
            = f.submit "Resend confirmation instructions", id: 'login', class: 'login-button'
        .no-account.large-12.columns= render "devise/shared/links"