from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class instructions(Page): form_model = 'player' def is_displayed(self): return self.round_number == Constants.num_rounds class form(Page): form_model = 'player' form_fields = ['name', 'company', 'position', 'age', 'gender', 'educ', 'county', 'product'] def is_displayed(self): return self.round_number == Constants.num_rounds page_sequence = [ form, instructions, ]