OfficeMomsandDads/scheduler

View on GitHub
app/views/devise/registrations/edit.html.haml

Summary

Maintainability
Test Coverage
- content_for :page_header do
  .header-text Edit #{resource_name.to_s.humanize}
= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f|
  = render 'devise/shared/error_messages', resource: resource
  = render 'devise/shared/profile_fields', resource: resource, f: f

  .grid-x.grid-padding-x.grid-margin-y
    .cell
      .actions
        = f.submit "Update", class: 'button'