= semantic_form_for [:public, @need] do |f| =f.inputs do = f.input :title, :label => "Titre de votre besoin" = f.input :description, :label => "Description", :rows => 5, :input_html => {:style => "height:100px;"} %br =f.submit "Sauvegarder", :class => "btn btn-primary"