from otree.api import * doc = """ Your app description """ class C(BaseConstants): NAME_IN_URL = 'consent' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): consent = models.StringField( label='Do you consent to participate in this study under the given terms? If not, please exit the browser.', choices=["I agree to take part. Take me to the study."], widget=widgets.RadioSelect, ) # PAGES class Consent(Page): form_model = "player" form_fields = ["consent"] pass class Instructions(Page): pass page_sequence = [Consent, Instructions]