hummingbird-me/hummingbird

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

Summary

Maintainability
Test Coverage
.login-register-card
  .row
    .large-8.columns.large-centered
      .panel.login-box
        %span.login-title= title "Resend unlock instructions"
        = form_for(resource, as: resource_name, url: unlock_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 unlock instructions", id: 'login', class: 'login-button'
        .no-account.large-12.columns= render "devise/shared/links"