<commit_before>{% extends "gymnastics/athletes/base.html" %}

{% block nav_controller_active %}<li>{% endblock nav_controller_active %}
{% block nav_action_active %}<li class="active">{% endblock nav_action_active %}
{% block action %}detail{% endblock action %}

{% block content %}
  <h1>
    {{ object.first_name }} {{ object.last_name }}
  </h1>

  <div role="tabpanel">
    <!-- Nav tabs -->
    <ul class="nav nav-tabs" role="tablist">
      <li role="presentation" class="active"><a href="#base" aria-controls="home" role="tab" data-toggle="tab">Base</a></li>
      <li role="presentation"><a href="#performances" aria-controls="profile" role="tab" data-toggle="tab">Performances</a></li>
      <li role="presentation"><a href="#placements" aria-controls="messages" role="tab" data-toggle="tab">Placements</a></li>
    </ul>

    <!-- Tab panes -->
    <div class="tab-content">
      <div role="tabpanel" class="tab-pane active" id="base">
        <p>Sex: {{ object.sex_long }}</p>
        <p>Year of birth: {{ object.year_of_birth }}</p>
        <p>Club: {{ object.club }}</p>
        <p>Squad: {{ object.squad }}</p>
        <p>Stream: {{ object.stream }}</p>
        <p>Team: {{ object.team }}</p>
      </div>
      <div role="tabpanel" class="tab-pane" id="performances">
        
      </div>
      <div role="tabpanel" class="tab-pane" id="placements">
        
      </div>
    </div>
  </div>

  <a type="button" class="btn btn-warning" href="{% url 'athletes.edit' object.id %}">Edit</a>
  <a type="button" class="btn btn-danger" href="{% url 'athletes.delete' object.id %}">Delete</a>
  <button type="button" class="btn btn-default" onClick="javascript:history.go(-1);">Previous Page</button>
  
{% endblock content %}<commit_msg>view stuff on athletes.detail<commit_after>{% extends "gymnastics/athletes/base.html" %}

{% block nav_controller_active %}<li>{% endblock nav_controller_active %}
{% block nav_action_active %}<li class="active">{% endblock nav_action_active %}
{% block action %}detail{% endblock action %}

{% block content %}

  <div class="row">
    <div class="col-md-8">
      <h1>
        {{ object }}
        <!-- </br> -->
        <small>
        {{ object.club }}
        <!-- ({{ object.stream }}) -->
        </small>
      </h1>
  </div>
    <div class="col-md-4 text-right">
      <a type="button" class="btn btn-warning" href="{% url 'athletes.edit' object.id %}">Edit</a>
      <a type="button" class="btn btn-danger" href="{% url 'athletes.delete' object.id %}">Delete</a>
      <button type="button" class="btn btn-default" onClick="javascript:history.go(-1);">Previous Page</button>
    </div>
  </div>

  <div role="tabpanel">
    <!-- Nav tabs -->
    <ul class="nav nav-tabs" role="tablist">
      <li role="presentation" class="active"><a href="#base" aria-controls="home" role="tab" data-toggle="tab">Base</a></li>
      <li role="presentation"><a href="#performances" aria-controls="profile" role="tab" data-toggle="tab">Performances</a></li>
      <li role="presentation"><a href="#placements" aria-controls="messages" role="tab" data-toggle="tab">Placements</a></li>
    </ul>

    <!-- Tab panes -->
    <div class="tab-content">
      <div role="tabpanel" class="tab-pane active" id="base">
        <p>Sex: {{ object.sex_long }}</p>
        <p>Year of birth: {{ object.year_of_birth }}</p>
        <p>Club: {{ object.club }}</p>
        <p>Squad: {{ object.squad }}</p>
        <p>Stream: {{ object.stream }}</p>
        <p>Team: {{ object.team }}</p>
      </div>

      <div role="tabpanel" class="tab-pane" id="performances">  
      </div>

      <div role="tabpanel" class="tab-pane" id="placements">  
      </div>
    </div>
  </div>

  
  
{% endblock content %}
{'fraction_non_alphanumeric': 0.21602787456445993, 'fraction_numerical': 0.0021441972661484857, 'mean_word_length': 3.294591484464902, 'pattern_counts': {'":': 0, '<': 110, '<?xml version=': 0, '>': 110, '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': '4265463', 'n_tokens_mistral': 1317, 'n_tokens_neox': 1243, 'n_words': 259}