{% 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.label }} (histological) {{ form.diagnose_date }} {{ form.age.label }} {{ form.age }} {{ form.sex.label }} {{ form.sex }} {{ form.alcohol_abuse.label }} {{ form.alcohol_abuse }} {{ form.nicotine_abuse.label }} {{ form.nicotine_abuse }} {{ form.hpv_status.label }} {{ form.hpv_status }} {{ form.neck_dissection.label }} {{ form.neck_dissection }} TNM Edition {{ form.tnm_edition }} N-category {{ form.n_stage }} M-category {{ form.m_stage }} Dataset {{ form.dataset }} {% if form.errors.dataset %} {{ form.errors.dataset }} {% endif %} {% if action == "create_patient" %} Cancel {% elif action == "edit_patient" %} Cancel {% endif %} Save {% endblock content %}
New patient
Edit patient {{ patient.pk }}