<commit_before><div class="row">
  <div class="col-lg-12">
      <h1 class="page-header">Administradores</h1>
  </div>
  <!-- /.col-lg-12 -->
</div>
<!-- /.row -->

<div class="panel panel-default">
  <div class="panel-heading">
      Lista de administradores
  </div>
  <!-- /.panel-heading -->
  <div class="panel-body">

    <div class="row">
      <div class="col-md-12">
        <%= link_to new_ad_admin_path, class: 'btn btn-primary pull-right' do %>
          <i class="fa fa-plus"></i> Criar novo administrador
        <% end %>
        <br>
      </div>
    </div>

    <div class="table-responsive" style="margin-top:10px;">
      <table class="table table-striped table-bordered table-hover">
        <thead>
          <tr>
            <th>#</th>
            <th>Email</th>
            <th>Criado em</th>
            <th>ültimo login em</th>
            <th>Ações</th>
          </tr>
        </thead>
        <tbody>

          <% @admins.each do |admin| %>
            <tr>
              <td><%= admin.id %></td>
              <td><%= admin.email  %></td>
              <td><%= admin.created_at.strftime("%d/%m/%Y as %I:%M%p")  %></td>
              <td>
                <% if admin.last_sign_in_at.present? %>
                  <%= admin.last_sign_in_at.strftime("%d/%m/%Y as %I:%M%p")  %>
                <% else %>
                  Nunca efetuou login
                <% end %>

              </td>
              <td>
                <%= link_to edit_ad_admin_path(admin), class: 'btn btn-default' do %>
                  <i class="fa fa-edit"></i>
                <% end %>
                <% if current_admin.id != admin.id %>
                  <%= link_to ad_admin_path(admin), method: :delete, class: 'btn btn-danger', data: {confirm: "Você realmente deseja excluir #{admin.email}?"} do %>
                    <i class="fa fa-trash"></i>
                  <% end %>
                <% end %>
              </td>
            </tr>
          <% end %><commit_msg>change layout index<commit_after><div class="row">
  <div class="col-lg-12">
      <h1 class="page-header">Administradores</h1>
  </div>
  <!-- /.col-lg-12 -->
</div>
<!-- /.row -->

<div class="panel panel-default">
  <div class="panel-heading">
      Lista de administradores
  </div>
  <!-- /.panel-heading -->
  <div class="panel-body">

    <div class="row">
      <div class="col-md-12">
        <%= link_to new_ad_admin_path, class: 'btn btn-primary pull-right' do %>
          <i class="fa fa-plus"></i> Criar novo administrador
        <% end %>
        <br>
      </div>
    </div>

    <div class="table-responsive" style="margin-top:10px;">
      <table class="table table-striped table-bordered table-hover">
        <thead>
          <tr>
            <th>#</th>
            <th>Nome</th>
            <th>Email</th>
            <th>Criado em</th>
            <th>Último login em</th>
            <th>Tipo de acesso</th>
            <th>Ações</th>
          </tr>
        </thead>
        <tbody>

          <% @admins.each do |admin| %>
            <tr>
              <td><%= admin.id %></td>
              <td><%= admin.name  %></td>
              <td><%= admin.email  %></td>
              <td><%= admin.created_at.strftime("%d/%m/%Y as %I:%M%p")  %></td>
              <td>
                <% if admin.last_sign_in_at.present? %>
                  <%= admin.last_sign_in_at.strftime("%d/%m/%Y as %I:%M%p")  %>
                <% else %>
                  Nunca efetuou login
                <% end %>
              </td>
              <td><%= admin.role_br  %></td>
              <td>
                <%= link_to edit_ad_admin_path(admin), class: 'btn btn-default' do %>
                  <i class="fa fa-edit"></i>
                <% end %>
                <% if current_admin.id != admin.id %>
                  <%= link_to ad_admin_path(admin), method: :delete, class: 'btn btn-danger', data: {confirm: "Você realmente deseja excluir #{admin.email}?"} do %>
                    <i class="fa fa-trash"></i>
                  <% end %>
                <% end %>
              </td>
            </tr>
          <% end %>
{'fraction_non_alphanumeric': 0.18698397280233123, 'fraction_numerical': 0.0048567265662943174, 'mean_word_length': 1.4430604982206405, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 153, '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': '7371414', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1340, 'n_words': 268}