<commit_before><div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', model: t('activerecord.models.profile')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<div class="search_form">
<%= form_for :profiles, url: profiles_path, html: {method: 'get'} do -%>
  <p>
    <%= label_tag :query, t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), class: 'search_form', placeholder: t('page.search_term') -%>
    <%= submit_tag t('page.search') -%>
  </p>
<%- end -%>
</div>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.attributes.profile.user_number') -%></th>
    <th><%= t('activerecord.attributes.user.username') -%>
      <%= link_to image_tag('icons/arrow_up.png', size: '16x16', alt: t('page.asc')), url_for(params.merge(sort_by: 'username', order: 'asc', only_path: true)) -%>
      <%= link_to image_tag('icons/arrow_down.png', size: '16x16', alt: t('page.desc')), url_for(params.merge(sort_by: 'username', order: 'desc', only_path: true)) -%>
    </th>
    <th>
      <%= t('page.created_at') -%>
      <%= link_to image_tag('icons/arrow_up.png', size: '16x16', alt: t('page.asc')), url_for(params.merge(sort_by: 'created_at', order: 'asc', only_path: true)) -%>
      <%= link_to image_tag('icons/arrow_down.png', size: '16x16', alt: t('page.desc')), url_for(params.merge(sort_by: 'created_at', order: 'desc', only_path: true)) -%>
    </th>
    <th style="width: 80px"></th>
  </tr>

<%- @profiles.each_with_index do |profile, i| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <% if profile.user_number? %>
        <%= link_to profile.user_number, profile -%>
      <% else %>
        <%= link_to t('profile.no_number'), profile -%>
      <% end %>
    </td>
    <td>
      <%= profile.user.try(:username) -%>
    </td>
    <td><%= l(profile.created_at) -%></td>
    <td>
      <%= link_to t('page.show'), profile -%>
      <%= link_to t('page.edit'), edit_profile_path(profile) -%>
    </td>
  </tr>
<%- end -%>
</table>
<commit_msg>show full_name in the profile list next-l/enju_leaf#500<commit_after><div id="content_detail" class="ui-corner-all ui-widget-content">
<h1 class="title"><%= t('page.listing', model: t('activerecord.models.profile')) -%></h1>
<div id="content_list">
<p id="notice"><%= notice %></p>

<div class="search_form">
<%= form_for :profiles, url: profiles_path, html: {method: 'get'} do -%>
  <p>
    <%= label_tag :query, t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), class: 'search_form', placeholder: t('page.search_term') -%>
    <%= submit_tag t('page.search') -%>
  </p>
<%- end -%>
</div>

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.attributes.profile.user_number') -%></th>
    <th><%= t('activerecord.attributes.user.username') -%>
      <%= link_to image_tag('icons/arrow_up.png', size: '16x16', alt: t('page.asc')), url_for(params.merge(sort_by: 'username', order: 'asc', only_path: true)) -%>
      <%= link_to image_tag('icons/arrow_down.png', size: '16x16', alt: t('page.desc')), url_for(params.merge(sort_by: 'username', order: 'desc', only_path: true)) -%>
    </th>
    <th>
      <%= t('page.created_at') -%>
      <%= link_to image_tag('icons/arrow_up.png', size: '16x16', alt: t('page.asc')), url_for(params.merge(sort_by: 'created_at', order: 'asc', only_path: true)) -%>
      <%= link_to image_tag('icons/arrow_down.png', size: '16x16', alt: t('page.desc')), url_for(params.merge(sort_by: 'created_at', order: 'desc', only_path: true)) -%>
    </th>
    <th style="width: 80px"></th>
  </tr>

<%- @profiles.each_with_index do |profile, i| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td>
      <% if profile.user_number? %>
        <%= link_to profile.user_number, profile -%>
      <% else %>
        <%= link_to t('profile.no_number'), profile -%>
      <% end %>
    </td>
    <td>
      <%= profile.user.try(:username) -%>
      <br />
      <%= profile.full_name %>
    </td>
    <td><%= l(profile.created_at) -%></td>
    <td>
      <%= link_to t('page.show'), profile -%>
      <%= link_to t('page.edit'), edit_profile_path(profile) -%>
    </td>
  </tr>
<%- end -%>
</table>

{'fraction_non_alphanumeric': 0.242796410014171, 'fraction_numerical': 0.011100614076523381, 'mean_word_length': 3.8015873015873014, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, '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': '5428808', 'n_tokens_mistral': 1737, 'n_tokens_neox': 1636, 'n_words': 298}