<commit_before><%% title("Usuários") %>

<div id="new_box">
	<%%= link_to 'Novo Usuário', new_admin_user_url, :class=>'new' %>
</div>	

<table cellspacing="1" cellpadding="2">
  <tr>

    <th>Usuário</th>

    <th>E-mail</th>

    <th></th>
    <th></th>
  </tr>
  <%%- @users.each do |user|%>
    <tr>

      <td width="46%"><%%=h user.username %></td>

      <td width="46%"><%%=h user.email %></td>
    
      <td width="8%"><%%=link_to 'Editar', edit_admin_user_url(user), :class=>'edit' %></td>
      <%% if (user.username == 'admin') %>
      	<td width="8%"><%%=link_to 'Excluir', "#delete", :class=>'delete', :onclick => "alert('Não é possível excluir o usuário Admin.');"  %></td>
      <%% else %>
      	<td width="8%"><%%=link_to 'Excluir', admin_user_url(user), :class=>'delete', :confirm => 'Tem certeza que deseja excluir?', :method => :delete %></td>
      <%% end %>
    </tr>
  <% end %>
</table>
<%%= will_paginate @users, :prev_label=>'&laquo; Anterior', :next_label=>'Próximo &raquo;' %><commit_msg>Fix template<commit_after><%% title("Usuários") %>

<div id="new_box">
	<%%= link_to 'Novo Usuário', new_admin_user_url, :class=>'new' %>
</div>	

<table cellspacing="1" cellpadding="2">
  <tr>

    <th>Usuário</th>

    <th>E-mail</th>

    <th></th>
    <th></th>
  </tr>
  <%%- @users.each do |user|%>
    <tr>

      <td width="46%"><%%=h user.username %></td>

      <td width="46%"><%%=h user.email %></td>
    
      <td width="8%"><%%=link_to 'Editar', edit_admin_user_url(user), :class=>'edit' %></td>
      <%% if (user.username == 'admin') %>
      	<td width="8%"><%%=link_to 'Excluir', "#delete", :class=>'delete', :onclick => "alert('Não é possível excluir o usuário Admin.');"  %></td>
      <%% else %>
      	<td width="8%"><%%=link_to 'Excluir', admin_user_url(user), :class=>'delete', :confirm => 'Tem certeza que deseja excluir?', :method => :delete %></td>
      <%% end %>
    </tr>
  <%% end %>
</table>
<%%= will_paginate @users, :prev_label=>'&laquo; Anterior', :next_label=>'Próximo &raquo;' %>
{'fraction_non_alphanumeric': 0.2661764705882353, 'fraction_numerical': 0.008823529411764706, 'mean_word_length': 3.7686915887850465, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 99, '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': '1118865', 'n_tokens_mistral': 877, 'n_tokens_neox': 844, 'n_words': 159}