<commit_before><div class="block-title"><h4><%= @group.name %></h4></div>
<div class="clearfix"></div>
<div class="btn-toolbar pull-left">
  <div class="btn-group">
    <%= link_to(icon_label_text('icon-edit', 'Editer'),
                edit_group_path(@group),
                :class => 'btn btn-small') %>
    <%= link_to(icon_label_text('icon-remove', 'Supprimer'),
                group_path(@group),
                :method => :delete, :data => { :confirm => "Êtes-vous sûr ?" },
                :class => 'btn btn-small') %>
  </div>
</div>
<div class="clearfix"></div>
<div class="block-title"><h5>Utilisateurs</h5></div>
<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th>Email</th>
    </tr>
  </thead>
  <tbody>
    <%= render(:partial => 'user', :collection => @group.users) || raw("<tr><td colspan='1'>Pas encore d'utilisateur !</td></tr>") %>
  </tbody>
</table>
<div class="block-title"><h5>Droits</h5></div>
<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th>Resource</th>
      <th>Lecture</th>
      <th>Création</th>
      <th>Edition</th>
      <th>Suppression</th>
    </tr>
  </thead>
  <tbody>
    <%- @group.initialized_permissions(@resources).group_by { |p| p.resource.category }.sort.each do |category, permissions| -%>
      <tr class="info">
        <td colspan="5"><%= category %></td>
      </tr>
      <%= render(:partial => 'permission', :collection => permissions) %>
    <%- end -%>
  </tbody>
</table><commit_msg>Fix group show template for BS3.<commit_after><div class="block-title"><h4><%= @group.name %></h4></div>
<div class="clearfix"></div>
<div class="btn-toolbar pull-left">
  <div class="btn-group">
    <%= link_to(icon_label_text('glyphicon glyphicon-edit', 'Editer'),
                edit_group_path(@group),
                :class => 'btn btn-default btn-sm') %>
    <%= link_to(icon_label_text('glyphicon glyphicon-remove', 'Supprimer'),
                group_path(@group),
                :method => :delete, :data => { :confirm => "Êtes-vous sûr ?" },
                :class => 'btn btn-default btn-sm') %>
  </div>
</div>
<div class="clearfix"></div>
<div class="block-title"><h5>Utilisateurs</h5></div>
<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th>Email</th>
    </tr>
  </thead>
  <tbody>
    <%= render(:partial => 'user', :collection => @group.users) || raw("<tr><td colspan='1'>Pas encore d'utilisateur !</td></tr>") %>
  </tbody>
</table>
<div class="block-title"><h5>Droits</h5></div>
<table class="table table-bordered table-striped">
  <thead>
    <tr>
      <th>Resource</th>
      <th>Lecture</th>
      <th>Création</th>
      <th>Edition</th>
      <th>Suppression</th>
    </tr>
  </thead>
  <tbody>
    <%- @group.initialized_permissions(@resources).group_by { |p| p.resource.category }.sort.each do |category, permissions| -%>
      <tr class="info">
        <td colspan="5"><%= category %></td>
      </tr>
      <%= render(:partial => 'permission', :collection => permissions) %>
    <%- end -%>
  </tbody>
</table>

{'fraction_non_alphanumeric': 0.22319688109161792, 'fraction_numerical': 0.005523066926575698, 'mean_word_length': 3.072751322751323, 'pattern_counts': {'":': 0, '<': 131, '<?xml version=': 0, '>': 149, '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': '7223613', 'n_tokens_mistral': 1131, 'n_tokens_neox': 1080, 'n_words': 194}