18 lines
490 B
Plaintext
18 lines
490 B
Plaintext
=semantic_form_for [:admin, @s_inventaire], :remote => true do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
= f.input :date, :label => "Date :", :as => :date
|
|
= f.input :exhaustive, :label => "Exhaustif ?"
|
|
|
|
-if params[:action] == "edit"
|
|
= f.input :done, :label => "Fait ?"
|
|
= f.input :ok, :label => "Validé ?"
|
|
=# f.input :stock_ok, :label => "Stock ok ?"
|
|
|
|
|
|
|
|
|
|
|
|
.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|
|
|