{% extends "admin/base_site.html" %} {%load markup %} {% block content_title %}Questionnaire Codebooks {% endblock %} {% block content %} {% for asker in askers %}

{{asker}}

{% for i in asker.askpage_set.all %}

Page {{i.progress_pages.0}}

{% for j in i.get_questions %} {% endfor %}
Variable name/Question text
Choices/Conditions
Show

{{j.variable_name}}

{{j.text|markdown}}

({{j.q_type}})

{% if j.choices.count > 0 %}
{{j.choices_as_json}}
                    
{% endif %}
{% if j.showif %}
{{j.showif.as_json}}
                
{% else %} Always {% endif %}
{% endfor %} {% endfor %} {% endblock %}