<commit_before><% title @member.name %>
<p><%= link_to "« Terug naar alle leden", backend_members_path %></p>

<h3>Basisgegevens</h3>
<div class="member-wrapper">
<%= render :partial => 'photo' %>

<dl>
  <dt>Kring:</dt><dd><%= @member.club.name %></dd>
  <dt>FK-nummer:</dt><dd><%= @member.card_number %></dd>
  <dt>Geregistreerd op:</dt>
  <dd><%= l @member.created_at, :format => :long %></dd>
</dl>

<dl>
  <dt>Voornaam:</dt><dd><%= @member.first_name %></dd>
  <dt>Familienaam:</dt><dd><%= @member.last_name %></dd>
  <% if @member.sex? %>
  <dt>Geslacht:</dt>
  <dd><%= @member.sex == 'm' ? icon(:male, 'Man') : icon(:female, 'Vrouw') %></dd>
  <% end %>
  <% if @member.date_of_birth? %>
  <dt>Geboortedatum:</dt><dd><%= l @member.date_of_birth %></dd>
  <% end %>
  <dt>UGent-nummer:</dt><dd><%= @member.ugent_nr %></dd>
  <dt>E-mailadres:</dt><dd><%= mail_to @member.email %></dd>
  <% if @member.phone? %>
  <dt>GSM-nummer:</dt><dd><%= @member.phone %></dd>
  <% end %>
  <% if @member.home_address? %>
  <dt>Thuisadres:</dt><dd><%= simple_format(@member.home_address) %></dd>
  <% end %>
  <% if @member.studenthome_address? %>
  <dt>Kotadres:</dt><dd><%= simple_format(@member.studenthome_address) %></dd>
  <% end %>
</dl>
</div>

<% if @member.current_card %>
<h3>Lidkaart</h3>

<dl>
  <dt>Nummer:</dt><dd><%= @member.current_card.number %></dd>
  <dt>Status:</dt><dd>
    <%= @member.current_card.status %>
    (ISIC: <%= @member.current_card.isic_status %>)
  </dd>
</dl>
<% end %>

<h3>Extra vragen</h3>
<dl class="no-indent">
<% @extra_attributes.each do |attribute| %>
  <%= render_extra_attribute_value(attribute) %>
<% end %>
</dl><commit_msg>add link to pay on member show page<commit_after><% title @member.name %>
<p><%= link_to "« Terug naar alle leden", backend_members_path %></p>

<h3>Basisgegevens</h3>
<div class="member-wrapper">
<%= render :partial => 'photo' %>

<dl>
  <dt>Kring:</dt><dd><%= @member.club.name %></dd>
  <dt>FK-nummer:</dt><dd><%= @member.card_number %></dd>
  <dt>Geregistreerd op:</dt>
  <dd><%= l @member.created_at, :format => :long %></dd>
</dl>

<dl>
  <dt>Voornaam:</dt><dd><%= @member.first_name %></dd>
  <dt>Familienaam:</dt><dd><%= @member.last_name %></dd>
  <% if @member.sex? %>
  <dt>Geslacht:</dt>
  <dd><%= @member.sex == 'm' ? icon(:male, 'Man') : icon(:female, 'Vrouw') %></dd>
  <% end %>
  <% if @member.date_of_birth? %>
  <dt>Geboortedatum:</dt><dd><%= l @member.date_of_birth %></dd>
  <% end %>
  <dt>UGent-nummer:</dt><dd><%= @member.ugent_nr %></dd>
  <dt>E-mailadres:</dt><dd><%= mail_to @member.email %></dd>
  <% if @member.phone? %>
  <dt>GSM-nummer:</dt><dd><%= @member.phone %></dd>
  <% end %>
  <% if @member.home_address? %>
  <dt>Thuisadres:</dt><dd><%= simple_format(@member.home_address) %></dd>
  <% end %>
  <% if @member.studenthome_address? %>
  <dt>Kotadres:</dt><dd><%= simple_format(@member.studenthome_address) %></dd>
  <% end %>
</dl>
<%= link_to "Naar de kassa", pay_backend_member_path(@member) %>
</div>

<% if @member.current_card %>
<h3>Lidkaart</h3>

<dl>
  <dt>Nummer:</dt><dd><%= @member.current_card.number %></dd>
  <dt>Status:</dt><dd>
    <%= @member.current_card.status %>
    (ISIC: <%= @member.current_card.isic_status %>)
  </dd>
</dl>
<% end %>

<h3>Extra vragen</h3>
<dl class="no-indent">
<% @extra_attributes.each do |attribute| %>
  <%= render_extra_attribute_value(attribute) %>
<% end %>
</dl>
{'fraction_non_alphanumeric': 0.27379209370424595, 'fraction_numerical': 0.003513909224011713, 'mean_word_length': 4.702838063439065, 'pattern_counts': {'":': 0, '<': 218, '<?xml version=': 0, '>': 222, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6801063', 'n_tokens_mistral': 1552, 'n_tokens_neox': 1436, 'n_words': 233}