app/views/projects/edit.html.haml
- content_for :head do
= javascript_include_tag 'project'
= link_to '← Back to Projects'.html_safe, edit_configuration_path
%h1 Edit Project
%hr
= error_messages_for @project
= form_for(@project, as: :project, url: project_path(@project), html: { class: 'form-horizontal' }) do |f|
= render 'form', f: f