khana/templates/training_detail.html

41 lines
1.1 KiB
HTML

{% extends "listing.html" %}
{% block page_title %}.: Training details :.{% endblock %}
{% block title %}Training{% endblock %}
{% block searchurl %}training{% endblock %}
{% block addurl %}training{% endblock %}
{% block modurl %}training{% endblock %}
{% block search %}training{% endblock %}
{% block datacontent %}
<thead>
<tr>
<th>#</th>
{% for gymnast in gymnasts_list %}
<th>{{gymnast.firstname}}</th>
{% endfor %}
</tr>
</thead>
<tbody>
{% for accident in accidents %}
<tr>
<td>
<div class="checkbox-inline custom-control custom-checkbox">
<label><input type="checkbox" class="select-row"><span class="custom-control-indicator"></span></label>
</div>
</td>
<td><a href="{% url 'accident_details' accident.id %}">{{ accident.date | date:"d-m-Y" }}</a></td>
<td>{{ accident.gymnast }}</td>
<td>{{ accident.educative.longLabel }}</td>
</tr>
{% endfor %}
</tbody>
{% endblock %}
{% block footerscript %}
{% endblock %}