concordia-publishing-house/errbit

View on GitHub
app/views/apps/new.html.haml

Summary

Maintainability
Test Coverage
- content_for :title, 'Add App'
- content_for :action_bar do
  = link_to_copy_attributes_from_other_app
  = link_to('cancel', apps_path, :class => 'button')

= form_for app do |f|

  = render 'fields', :f => f

  %div.buttons= f.submit 'Add App'