30 lines
876 B
Plaintext
Executable File
30 lines
876 B
Plaintext
Executable File
=semantic_form_for [:admin, @i_hebergement], :remote => true, :html => {:autocomplete => "off"} do |f|
|
|
|
|
.content
|
|
=f.inputs do
|
|
= f.input :p_customer_id, :label => "Clients :", :collection => PCustomer.all, :as => :select, :include_blank => false, :member_label => :show_name
|
|
= f.input :name, :label => "Nom :"
|
|
|
|
|
|
|
|
= f.input :start_at, :label => "Début :", :as => :date
|
|
|
|
|
|
= f.input :bill_to, :label => "Facturé jusqu'à :" , :as => :date
|
|
|
|
|
|
= f.input :price_ht, :label => "Prix HT :"
|
|
|
|
|
|
= f.input :i_websites, :label => "Sites concernés :", :collection => IWebsite.all, :member_label => "show_name", :as => :check_boxes
|
|
|
|
|
|
=# f.input :status, :label => "Nom :"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.actions=f.submit "sauvegarder", :class => "btn btn-primary"
|