mmsc_app/app/views/admin/s_modules/_form.html.haml
Nicolas Bally a6aa1f6074 Initial
2020-05-25 11:40:11 +02:00

20 lines
969 B
Plaintext

=semantic_form_for [:admin, @s_module], :remote => true do |f|
.content
=f.inputs do
= f.input :name, :label => "Libellé :"
= f.input :serial_nbr, :label => "N° de série :"
=# f.input :cache_long_serial_number, :label => "cache_long_serial_number :"
= f.input :s_modules_state_id, :label => "Status :" , :collection => SModulesState.order(:name).all, :as => :select
= f.input :order_date, :label => "order_date :"
= f.input :production_start_date, :label => "production_start_date :"
= f.input :production_end_date, :label => "production_end_date :"
= f.input :s_module_configuration_id, :label => "Configuration :", :collection => SModuleConfiguration.order(:name).all, :as => :select
= f.input :s_site_id, :label => "Site de stockage :", :collection => SSite.order(:name).all, :as => :select
.actions=f.submit "sauvegarder", :class => "btn btn-primary"