2023-04-25 17:06:14 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="row justify-content-center">
|
|
|
|
<div class="col-12 col-sm-8 col-md-6">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
2023-11-14 12:24:52 +01:00
|
|
|
<h4 class="mb-0"><a href="{% url 'gymnast_details_tab' injury.gymnast.id 'physiological' %}">{{ injury.gymnast }}</a> injuried on {{ injury.date | date:"j N Y" }}</h4>
|
2023-04-25 17:06:14 +02:00
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
2023-11-14 12:20:31 +01:00
|
|
|
{{ 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 />
|
2023-07-06 23:37:07 +02:00
|
|
|
{% if injury.nb_week_off %}
|
|
|
|
Gymnast {{ injury.nb_week_off }} week(s) off.<br />
|
2023-04-25 17:06:14 +02:00
|
|
|
{% endif %}
|
2023-11-14 12:00:46 +01:00
|
|
|
{% if injury.to_markdown %}
|
2023-11-14 12:06:08 +01:00
|
|
|
<br />
|
|
|
|
{{ injury.to_markdown | safe }}
|
2023-11-14 12:00:46 +01:00
|
|
|
{% endif %}
|
2023-04-25 17:06:14 +02:00
|
|
|
|
|
|
|
<div class="card-footer pl-0 pb-0">
|
2023-07-06 23:37:07 +02:00
|
|
|
<a href="{% url 'injuries_list' %}">
|
2023-11-14 12:15:09 +01:00
|
|
|
<button type="submit" value="add" class="btn btn-icon btn-warning">
|
2023-04-25 17:06:14 +02:00
|
|
|
<i class="tim-icons icon-double-left"></i>
|
|
|
|
</button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|