anthonymidili/Bullhorn

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

Summary

Maintainability
Test Coverage
%h2 Resend unlock instructions
= form_for(resource, as: resource_name, url: unlock_path(resource_name), 
html: { method: :post }, data: { turbo: false }) do |f|
  = devise_error_messages!
  .field.mb-3
    = f.label :email, class: "form-label"
    %br/
    = f.email_field :email, autofocus: true, autocomplete: "email",
    class: "form-control"
  .actions.mb-3
    = f.submit "Resend unlock instructions", class: 'btn btn-primary'
.mb-3= render "devise/shared/links"