{% extends "otree/Page.html" %} {% load otree static %} {% block global_styles %} {% endblock %} {% block global_scripts %}
#html template for 6 and 10 item questions, horizontal layout. Important: first delete choices in models.py #(example: pers_iri_Q1 = models.IntegerField(choices=[[1, ''],) #use this script for 10 item radio buttons:
nie
{{ form.pers_iri_Q1 }}
immer
1
2
3
4
5
6
7
8
9
10
#use this script for 6 item radio buttons
nie
{{ form.pers_iri_Q3 }}
immer
1
2
3
4
5
6