ugtastic/uglst

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

Summary

Maintainability
Test Coverage
#wrap.container
  .row
    .col-md-6.col-md-offset-3
      %h2 Resend unlock instructions
      = simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: {method: :post, class: 'form-vertical'}) do |f|
        = f.error_notification
        = display_base_errors resource
        = f.input :email, autofocus: true, required: true
        = f.button :submit, 'Resend unlock instructions', class: 'btn-primary'
      %hr/
      .well
        = render 'devise/shared/links'