from otree.api import * doc = """ Your app description """ class Constants(BaseConstants): name_in_url = 'allpay' players_per_group = None num_rounds = 1 class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): bid = models.StringField( label="您的出价是", choices=["0.5", "1", "1.5", "2", "2.5", "3", "3.5", "4", "4.5", "5", "5.5", "6", "6.5", "7", "7.5", "8", "8.5", "9", "9.5", "10"] ) # PAGES class Introduction_all_pay(Page): pass class BidAmount(Page): form_model = "player" form_fields = ["bid"] page_sequence = [Introduction_all_pay, BidAmount]