=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"
  