Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- form do |f|
- f.inputs do
- f.has_many :items, :sortable => :position do |item|
- item.inputs :class => "item_wrapper" do
- item.inputs do
- "<p>some static html</p>".html_safe
- end
- item.input :title, :input_html => {:class => 'item_title'}
- item.input :blurb, :input_html => { :rows => 3, :class => 'item_blurb'}
- item.inputs do
- "<p>More static html</p>".html_safe
- end
- end
- end
- end
- f.actions
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement