<commit_before><div class="box box-solid box-default">
  <div class="box-header">
    <h3 class="box-title"><%= team.name %></h3>
    <h3 class="box-title pull-right">Prof(a). <%= team.owner.name %></h3>
  </div><!-- /.box-header -->

  <div class="box-footer">
    <% if team.enrolled?(current_user) || current_user == team.owner %>
      <% if can? :unenroll, team %>
        <%= link_to "Cancelar matrícula", unenroll_team_path(team), method: :post %>
      <% end %>

      <div class="pull-right">
        <%= link_to "Ver", team %>
          <% if can? :update, team %>
            | <%= link_to "Editar", edit_team_path(team) %>
          <% end %>
          <% if can? :destroy, team %>
            | <%= link_to "Excluir", team, method: :delete,
                        data: { confirm: "Tem certeza que deseja excluir?" } %>
          <% end %>
      </div>

    <% else %>

      <%= form_tag enroll_team_url(team), remote: true, class: "form-inline", id: "enroll-form" do %>
        <%= text_field_tag :password, nil, class: "form-control", placeholder: "Senha de matrícula" %>
        <%= submit_tag 'Matricular-se', class: "btn btn-info btn-flat" %>
      <% end %>

    <% end %>

  </div><!-- /.box-footer -->

</div><!-- /.box --><commit_msg>Change team password field to password field<commit_after><div class="box box-solid box-default">
  <div class="box-header">
    <h3 class="box-title"><%= team.name %></h3>
    <h3 class="box-title pull-right">Prof(a). <%= team.owner.name %></h3>
  </div><!-- /.box-header -->

  <div class="box-footer">
    <% if team.enrolled?(current_user) || current_user == team.owner %>
      <% if can? :unenroll, team %>
        <%= link_to "Cancelar matrícula", unenroll_team_path(team), method: :post %>
      <% end %>

      <div class="pull-right">
        <%= link_to "Ver", team %>
          <% if can? :update, team %>
            | <%= link_to "Editar", edit_team_path(team) %>
          <% end %>
          <% if can? :destroy, team %>
            | <%= link_to "Excluir", team, method: :delete,
                        data: { confirm: "Tem certeza que deseja excluir?" } %>
          <% end %>
      </div>

    <% else %>

      <%= form_tag enroll_team_url(team), remote: true, class: "form-inline", id: "enroll-form" do %>
        <%= password_field_tag :password, nil, class: "form-control", placeholder: "Senha de matrícula" %>
        <%= submit_tag 'Matricular-se', class: "btn btn-info btn-flat" %>
      <% end %>

    <% end %>

  </div><!-- /.box-footer -->

</div><!-- /.box -->
{'fraction_non_alphanumeric': 0.20603211907559735, 'fraction_numerical': 0.003133568350959655, 'mean_word_length': 2.364953886693017, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '219286', 'n_tokens_mistral': 949, 'n_tokens_neox': 854, 'n_words': 198}