blob: 8d40bb61d9277f16254b7e853177108fa0d15771 (
plain)
1
2
3
4
|
= f.simple_fields_for :comments, @comment do |c|
= c.input :body, :label => 'Comment', :as => :text, :input_html => {:class => "span12", :rows=>4}
- if admin?
= c.input :private, :as => :boolean, :label => false, :inline_label => true
|