from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class Firstinst(Page): pass class Demographics(Page): form_model = 'player' form_fields = ['name','age','gender'] class DemographicsWaitPage(WaitPage): after_all_players_arrive = 'self.name' class Consent(Page): form_model = 'player' form_fields = ['consent'] class ConsentWaitPage(WaitPage): after_all_players_arrive = 'consent' class Introduction(Page): pass class paticipant(Page): pass page_sequence = [Firstinst, Introduction, paticipant,]