19 lines
715 B
Plaintext
Executable File
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"
|
|
|