%tr#p_product_ref_spec_row{:id => p_product_ref_spec.id}
  -tr = {}
  -tr[:p_product_ref] = capture do
    %td
      = p_product_ref_spec.p_product_ref.cc_name

  -tr[:p_product_ref_id] = capture do
    %td
      = p_product_ref_spec.p_product_ref.id

  -tr[:p_spec_type] = capture do
    %td
      = p_product_ref_spec.p_spec_type.name
  -tr[:p_spec_value] = capture do
    %td
      = p_product_ref_spec.p_spec_value.value
      = p_product_ref_spec.p_spec_value.unit

  -tr[:actions] = capture do
    %td.actions
      = link_to i(:"trash-o"), [:admin, p_product_ref_spec], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cet enregistrement ? ' } , :remote => true
      = link_to i(:pencil), edit_admin_p_product_ref_spec_path(p_product_ref_spec), :remote => true
      = link_to i(:eye), admin_p_product_ref_spec_path(p_product_ref_spec), :remote => true



  =render :partial => "qi/qi_ordered_table_object", :locals => {:tr => tr, :object => p_product_ref_spec}
    
  
  
  
