from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants # --- Instructions ----------------------------------------------------------------------------------------------------- class Instructions(Page): def is_displayed(self): return self.round_number == 1 def vars_for_template(self): return { 'riskfree': Constants.riskfree, 'init_wealth': Constants.initial_wealth, 'participant_label': self.participant.label } page_sequence = [ Instructions ]