Skip to content

Instantly share code, notes, and snippets.

-javascript 'post'
= simple_form_for(@post) do |f|
= render 'shared/error_messages', :target => @post
.inputs
= f.input :title
= f.input :sequence
= f.input :description, :input_html => {:rows =>5}
= f.simple_fields_for :sections do |section_f|