Site para o estudio Velvet Design em São Paulo. http://velvetdesign.com.br

new.html.erb 461B

1234567891011121314151617
  1. <h2>Resend unlock instructions</h2>
  2. <%= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
  3. <%= f.error_notification %>
  4. <%= f.full_error :unlock_token %>
  5. <div class="form-inputs">
  6. <%= f.input :email, required: true, autofocus: true %>
  7. </div>
  8. <div class="form-actions">
  9. <%= f.button :submit, "Resend unlock instructions" %>
  10. </div>
  11. <% end %>
  12. <%= render "devise/shared/links" %>