%tr#m_event_row{:id => m_event.id}
  -tr = {}
  -tr[:circuit] = capture do
    %td
      =m_event.circuit.name if m_event.circuit

  -tr[:organisateur] = capture do
    %td
      =m_event.organisateur.name if m_event.organisateur


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



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