Update injury details
This commit is contained in:
parent
d991952af8
commit
6d0b047ca1
|
@ -6,11 +6,10 @@
|
||||||
<div class="col-12 col-sm-8 col-md-6">
|
<div class="col-12 col-sm-8 col-md-6">
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h4 class="mb-0">Injury on {{ injury.date | date:"j N Y" }}</h4>
|
<h4 class="mb-0"><a href="{% url 'gymnast_details' injury.gymnast.id %}">{{ injury.gymnast }}</a> injuried on {{ injury.date | date:"j N Y" }}</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<a href="{% url 'gymnast_details' injury.gymnast.id %}">{{ injury.gymnast }}</a>{% if injury.skill %} injuried on <i>{{ injury.skill.notation }}</i>{% endif %}<br />
|
{{ form.injury_type }} {{ injury.get_mechanism_display }} at {{ injury.get_location_display }} ({{ injury.get_body_side_display }}) {% if injury.skill %} injuried on <i>{{ injury.skill.notation }}</i>{% endif %}<br />
|
||||||
{{ form.injury_type }} {{ injury.get_mechanism_display }} on {{ injury.get_location_display }} ({{ injury.get_body_side_display }})<br />
|
|
||||||
{% if injury.nb_week_off %}
|
{% if injury.nb_week_off %}
|
||||||
Gymnast {{ injury.nb_week_off }} week(s) off.<br />
|
Gymnast {{ injury.nb_week_off }} week(s) off.<br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue