=semantic_form_for [:admin, @need, @offer] do |f| .content =f.inputs do .row.qi_cancel_margins .col-sm-6 =f.input :supplier, :label => "Nom du fournisseur : " =f.input :price, :label => "Prix négocié : " =f.input :gain, :label => "Gain : " .col-sm-6 =f.input :reseauxes, :label => "Réseaux commissionnés : ", :collection => Reseaux.all, :as => :check_boxes .clear .actions= f.submit "Sauvegarder", :class => "btn btn-primary"