= semantic_form_for [:admin, @p_product_image], :remote => true do |form| 
  .content

    %h3 Modifier les infos

    = form.inputs do 

      = form.input :p_product_ref, :label => "Variante :", :as => :select, :collection => PProductRef.where(:p_product_id => form.object.p_product_id), :member_label => :ct_sub_name 
      
      = form.input :name, :label => "Titre :" 
      = form.input :description, :label => "Description :", :as => :text, :input_html => {:class => "text_editor"}



  
  .actions
    =form.submit "Sauvegarder", :class => "btn btn-primary"
  
  


