.row.login-form

.col.s12.offset-m3
  .card.hoverable
    .card-content
      span.card-title.center Resend Unlock Instructions
      .divider
      = form_for resource, as: resource_name, url: unlock_path(resource_name),
      | html: { method: :post } do |f|
      - if devise_error_messages? || alert
        .form-errors.red.lighten-1
          = devise_error_messages!
          = alert
      .form-inputs.row
        .input-field.col.s12
          i.material-icons.prefix email
          = f.email_field :email, autofocus: true, required: true
          = f.label :email
      .form-actions.center
        = f.button :submit, "Resend Unlock Instructions",
        | class: "btn waves-effect"
    .card-action
      .devise-links
        = render "devise/shared/links"