coton_app/app/views/admin/p_tanks/_form.html.haml
2018-12-15 14:06:53 +01:00

12 lines
393 B
Plaintext
Executable File

=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"