{% extends "base.html" %} {% block head %} {% include 'head_content.html' with title="LyProX ยท Create patient" %} {% endblock head %} {% block content %}
{% if action == "create_patient" %}

New patient

{% elif action == "edit_patient" %}

Edit patient {{ patient.pk }}

{% endif %} {% if form.non_field_errors %}
{{ form.non_field_errors }}
{% endif %} {% csrf_token %}
{{ form.diagnose_date }}
{{ form.age }}
{{ form.sex }}
{{ form.alcohol_abuse }}
{{ form.nicotine_abuse }}
{{ form.hpv_status }}
{{ form.neck_dissection }}
{{ form.tnm_edition }}
{{ form.n_stage }}
{{ form.m_stage }}
{{ form.dataset }}
{% if form.errors.dataset %} {{ form.errors.dataset }} {% endif %}
{% if action == "create_patient" %} Cancel {% elif action == "edit_patient" %} Cancel {% endif %}
{% endblock content %}