from otree.api import * import constants doc = """ Stufe 2 """ class C(BaseConstants): NAME_IN_URL = 'step2' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 PARTICIPATION_FEE_STEP2 = cu(constants.PARTICIPATION_FEE_STEP2) START_DATE = 'XX.YY.ZZZZ' END_DATE = 'XX.YY.ZZZZ' class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): participation_code = models.StringField(label="Bitte geben Sie jetzt Ihren Teilnehmercode ein:") # PAGES class ParticipationCode(Page): form_model = 'player' form_fields = ['participation_code'] class Instructions(Page): pass page_sequence = [ParticipationCode, Instructions]