OfficeMomsandDads/scheduler

View on GitHub
app/views/needs/edit.html.haml

Summary

Maintainability
Test Coverage
- content_for :page_header do
  .header-text Update a Need
= form_for(@need, url: {action: 'update'}, html: { method: :put }) do |f|
  = render partial: 'form_fields', locals: { f: f, action: :edit }
  .grid-x
    .cell
      .actions
        = f.submit "Update", class: 'button'