from ._builtin import Page, WaitPage from otree.api import Currency as c, currency_range from .models import Constants class PaymentInfo(Page): form_model = 'player' form_fields = ['url'] def vars_for_template(self): return{ 'currencypayoff':self.participant.payoff.to_real_world_currency(self.session) } page_sequence = [PaymentInfo]