=semantic_form_for [:admin, @p_tank], :remote => true do |f| .content =f.inputs do = f.input :name, :label => "Nom :" = f.input :volume, :label => "Volume :" = f.input :p_brut_product_id, :label => "Matière :", :collection => PBrutProduct.all, :as => :select, :include_blank => true .actions=f.submit "sauvegarder", :class => "btn btn-primary"