OfficeMomsandDads/scheduler

View on GitHub
app/views/admin/offices/_form.html.haml

Summary

Maintainability
Test Coverage
= semantic_form_for [:admin, resource]do |f|
  = f.semantic_errors 
  = f.inputs do
    = f.input :name
    = f.input :region
    = f.inputs for: :address do |a, i|
      = a.semantic_errors
      = a.input :street
      = a.input :city
      = a.input :state
      = a.input :postal_code
      = a.input :skip_api_validation, as: :boolean
    = f.actions