{% extends "_base.html" %} {% load static %} {% load filters %} {% block styles %} {{ block.super }} {% include "includes/datepicker.css.html" %} {% include "includes/datetimepicker.css.html" %} {% endblock styles %} {% block ui_active_tab %}'subjects'{% endblock ui_active_tab %} {% block page_header %}Edit subject{% endblock page_header %} {% block page_description %}{% endblock page_description %} {% block title %}{{ block.super }} - Edit subject information{% endblock %} {% block breadcrumb %} {% include "subjects/breadcrumb.html" %} {% endblock breadcrumb %} {% block maincontent %} {% block content %}

Go back (discard changes)

Subject's visits

Subject details

{% csrf_token %}
{% for field in subject_form %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% if "delete_subject" in permissions %}
{% endif %}

Subject's study details

{% for field in study_subject_form %}
{{ field|add_class:'form-control' }}
{% if field.errors %} {{ field.errors }} {% endif %}
{% endfor %}
{% if "delete_studysubject" in permissions and n_studies > 1 %} {% else %} {% endif %}
{% include 'includes/mail_templates_box.html' with instance_id=study_subject.id %} {% include 'includes/contact_attempts_box.html' with subject=study_subject contact_attempts=contact_attempts %} {% if study_subject.study.columns.vouchers %} {% include 'includes/subject_vouchers_box.html' with subject=study_subject %} {% endif %} {% include 'includes/subject_provenance_box.html' with study_subject=study_subject %} {% endblock %} {% endblock maincontent %} {% block scripts %} {{ block.super }} {% include "includes/datepicker.js.html" %} {% include "includes/datetimepicker.js.html" %} {% endblock scripts %}