from otree.api import * c = cu doc = '\nThis application provides a webpage instructing participants how to get paid.\nExamples are given for the lab and Amazon Mechanical Turk (AMT).\n' class C(BaseConstants): NAME_IN_URL = 'payment_info' PLAYERS_PER_GROUP = None NUM_ROUNDS = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass class PaymentInfo(Page): form_model = 'player' @staticmethod def vars_for_template(player: Player): participant = player.participant return dict(redemption_code=participant.label or participant.code) page_sequence = [PaymentInfo]