from otree.api import * doc = """ This application provides a webpage instructing participants how to get paid. Examples are given for the lab and Amazon Mechanical Turk (AMT). """ class C(BaseConstants): NAME_IN_URL = 'general' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): # how many they have selected from each deck TRUE_FALSE_CHOICES = ( (True, 'Sí'), (False, 'No') ) quiz4 = models.BooleanField(choices = TRUE_FALSE_CHOICES, label="YO he leído TODO el consentimiento informado y acepto participar de esta investigación.") # FUNCTIONS # PAGES class Consent(Page): form_model = 'player' form_fields = ['quiz4'] class General(Page): pass page_sequence = [Consent, General]