Sha256: 6384a5d78aa8e4fa63c5c210f07d66e3f9fdba8840091b121ee85f1bc2df066b

Contents?: true

Size: 1.41 KB

Versions: 2

Compression:

Stored size: 1.41 KB

Contents

<%= content_for :menu do %>
<%= icon_to 'navigation90.png', main_app.root_path %>
<%= icon_to 'nouveau.png', new_member_path %>
<% end -%>


<div class="champ">


  <h3> Liste des  <%= I18n::t('members') %></h3>
<table class="table table-striped table-bordered table-condensed" cellpadding="0" cellspacing="0" border="0">
<thead>
  <tr>
  
    <th>Numero </th>
  
    <th><%= I18n::t('name') %></th>
  
    <th><%= I18n::t('forname') %></th>
  
    <th><%= I18n::t('birthdate') %></th>
    
    <th><%= I18n::t('mail') %></th>
    <th><%= I18n::t('tel') %></th>
  
    <th>Actions</th>
    
  </tr>
</thead>
<tbody> 
<% @members.each do |member| %>
  <tr class="<%=  member.unpaid_adhesions? ? 'impaye' : 'ok' %>">
    <td><%= member.number %></td>
    <td><%= member.name %></td>
    <td><%= member.forname %></td>
    <td><%= member.birthdate %></td>
    <td><%= member.coord ? member.coord.mail : '' %>
    <td><%= member.coord ? member.coord.tel : '' %>
    <td><%= icon_to 'detail.png', member_coord_path(member), title:'Coordonnées' %>
      <%= icon_to 'afficher.png', member_adhesions_path(member), title:'Liste des adhésions' %>
    
    <%= icon_to 'payment.png', member_payments_path(member), title: 'Liste des paiements' %>
      <%= icon_to 'modifier.png', edit_member_path(member) %>
    <%= icon_to 'supprimer.png', member, :confirm => 'Etes vous sur ?', :method => :delete %></td>
  </tr>
<% end %>
</tbody>
</table>

</div>


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adherent-0.1.1 app/views/adherent/members/index.html.erb
adherent-0.1.0 app/views/adherent/members/index.html.erb