# -*- coding: utf-8 -*- from __future__ import division from . import models from ._builtin import Page, WaitPage from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) from .models import Constants class PaymentInfo(Page): def vars_for_template(self): participant = self.participant return { 'redemption_code': participant.label or participant.code, } page_sequence = [PaymentInfo]