=semantic_form_for [:admin, @market_discount], :remote => true do |f|

  .content
    =f.inputs do
      = f.input :p_customer_cat_id, :label => "Catégorie client", :include_blank => false, :collection => PCustomerCat.order(:name).all, :as => :select
      = f.input :min, :label => "Min :" 
      =# f.input :max, :label => "Max :" 
      = f.input :percent, :label => "Pourcentage de réduction :" 
            
      
      
      
      
  .actions=f.submit "sauvegarder", :class => "btn btn-primary"
  