from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Input(Page): form_model = 'player' form_fields = ['height', 'weight'] class ResultsWaitPage(WaitPage): def is_displayed(self): # if this is interpersonal treatment (in other words 'duo' is False in settings then # they should wait for the partner. It is not necessary if we are in individual treatment return self.subsession.duo def after_all_players_arrive(self): pass class Results(Page): pass page_sequence = [ Input, ResultsWaitPage, Results ]