Sha256: cd3885e08c3d49ac4183882ae9b4044e5ddade00cc9b95eaca1e8b2e3e7607a4

Contents?: true

Size: 1.89 KB

Versions: 4

Compression:

Stored size: 1.89 KB

Contents

<%= content_for :menu do %>

<%= icon_to 'nouveau.png', new_member_path, title:'Ajouter un membre' %>
<%= icon_to 'payment.png', payments_path, title:'Table des paiements' %>
<%= icon_to('csv.png', members_path(@organism,:format=>:csv)) %>
<%= icon_to('xls.png', members_path(@organism, :format=>:xls)) %>
<% end -%>


<div class="champ">


  <h3>Liste des <%= I18n::t('members') %></h3>
<table class="table display table-striped table-bordered table-condensed"
       id='members' cellpadding="0" cellspacing="0" border="0">
<thead>
  <tr>
    <th>Numero </th>
    <th><%= I18n::t('name') %></th>
    <th><%= I18n::t('forname') %></th>
    <th class='date-euro'><%= I18n::t('birthdate') %></th>
    <th><%= I18n::t('mail') %></th>
    <th><%= I18n::t('tel') %></th>
    <th>Doit</th>
    <th class='date-euro'>Fin Adh.</th>
    <th class='actions'>Actions</th>
    
  </tr>
</thead>
<tbody> 
<% @members.each do |member| %>
  <tr id="<%="member_#{member.id}"%>">
    <td><%= member.number %></td>
    <td><%= member.name %></td>
    <td><%= member.forname %></td>
    <td><%= member.birthdate %></td>
    <td><%= member.mail %></td>
    <td><%= member.tel %></td>
    <td class="numeric"><%= number_to_currency member.montant_du %></td>
    <td><%= member.m_to_date %></td>
    <td>
      <%= icon_to 'card-address.png', member_coord_path(member), title:'Coordonnées', id:"coord_member_#{member.id}" %>
      <%= icon_to 'bandaid.png', member_adhesions_path(member), title:'Liste des adhésions', id:"adhesion_member_#{member.id}"%>
      <%= icon_to 'payment.png', member_payments_path(member), title: 'Liste des paiements' , id:"payment_member_#{member.id}"%>
      <%= icon_to 'modifier.png', edit_member_path(member) , id:"edit_member_#{member.id}" %>
      <%= icon_to 'supprimer.png', member_path(id:member.id), :method => :delete, data:{:confirm => 'Etes vous sûr ?'}  %>
    </td>
  </tr>
<% end %>
</tbody>
</table>

</div>


Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
adherent-0.2.8 app/views/adherent/members/index.html.erb
adherent-0.2.7 app/views/adherent/members/index.html.erb
adherent-0.2.6 app/views/adherent/members/index.html.erb
adherent-0.2.5 app/views/adherent/members/index.html.erb