from . import models from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class Introduction(Page): pass class matching(Page): timeout_seconds = 10 class paying(Page): timeout_seconds = 10 class decision(Page): form_model = models.Player form_fields = ['DR_noINT_OTH'] def before_next_page(self): self.player.set_payoff() class Result(Page): pass page_sequence = [ Introduction, matching, paying, decision, Result ]