Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 462 Bytes
= form_for @project do |f|
- if @project.errors.any?
#error_explanation
%h2= "#{pluralize(@project.errors.count, "error")} prohibited this project from being saved:"
%ul
- @project.errors.full_messages.each do |msg|
%li= msg
.field
= f.label :name
= f.text_field :name
.field
= f.label :path
= f.text_field :path
.field
= f.label :scripts
= f.text_area :scripts
.actions
= f.submit 'Save'
Jump to Line
Something went wrong with that request. Please try again.