negos_app/app/views/admin/abonnements/_form.html.haml
Nicolas Bally 11ee7df123 suite
2019-06-05 09:35:56 +02:00

19 lines
715 B
Plaintext
Executable File

= semantic_form_for [:admin,@abonnement], :remote => true do |form|
.content
= form.input :reseaux_id, :label => "Réseau :", :collection => Reseaux.where(:parent_id => nil).all, :as => :select, :include_blank => true
=form.input :customer_id, :label => "Client :", :collection => Customer.order(:organisation, :name).all, :as => :select, :include_blank => true, :member_label => :name_for_label
= form.input :start_at, :label => "Début", :as => :qi_date_picker
= form.input :end_at, :label => "Fin", :as => :qi_date_picker
= form.input :price, :label => "Prix :"
= form.input :paid, :label => "Payé ?"
.actions
= form.submit "Sauvegarder"