{% extends 'web/base.html' %} {% load bootstrap3 %} {% block title %}Past Studies{% endblock %} {% block flash %} {% if form.errors %} {% endif %} {% if next %} {% endif %} {% endblock %} {% block content %}

Past Studies

{% bootstrap_messages %}
{% if object_list %}
Here you can view your studies and see comments left by researchers:
{% endif %}
{% for study in object_list %}

{{ study.name }}

{% if study.image %}

{% else %}
{% endif %}
{{ study.short_description }}
Age Range: {{ study.min_age_years }} year{{ study.min_age_years|pluralize}} {{ study.min_age_months}} month{{ study.min_age_months|pluralize}} {{ study.min_age_days}} day{{ study.min_age_days|pluralize}} - {{ study.max_age_years }} year{{ study.max_age_years|pluralize}} {{ study.max_age_months}} month{{ study.max_age_months|pluralize}} {{ study.max_age_days}} day{{ study.max_age_days|pluralize}}
Duration: {{ study.duration }}

Study Responses

{% for response in study.responses.all %} {% if response.child.user == request.user %}
{{ response.child.given_name}}
{{ response.date_modified |date:"M d Y"}}
    {% for feedback in response.feedback.all %}
  • {{ feedback.comment}}
  • {% empty %} None {% endfor %}
{% endif %} {% endfor %}
{% empty %}

You have not yet participated in any studies.

{% endfor %}
{% endblock %}