from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class MyPage0(Page): form_model = 'player' pass class MyPage(Page): form_model = 'player' form_fields = ['Preferencia1'] pass class MyPage2(Page): form_model = 'player' form_fields = ['Preferencia2'] pass class MyPage3(Page): form_model = 'player' form_fields = ['Preferencia3'] pass class MyPage4(Page): form_model = 'player' form_fields = ['Preferencia4'] pass class MyPage5(Page): form_model = 'player' form_fields = ['Preferencia5'] pass class ResultsWaitPage(WaitPage): def after_all_players_arrive(self): self.subsession.set_groups() pass class Results(Page): pass class MyPage6(Page): form_model = 'player' form_fields = ['Artista1', 'Artista2'] pass page_sequence = [ MyPage0, MyPage, MyPage2, MyPage3, MyPage4, MyPage5, ResultsWaitPage, Results, MyPage6 ]