from otree.api import ( models, widgets, BaseConstants, BaseSubsession, BaseGroup, BasePlayer, Currency as c, currency_range ) #from captcha.fields import ReCaptchaField #from captcha.widgets import ReCaptchaV2Checkbox author = 'Elisa Macchi' doc = """ Introduction, Consent Form and Captcha """ class Constants(BaseConstants): name_in_url = 'consent' players_per_group = None num_rounds = 1 min_time = 20 max_time = 30 max_bonus = c(20) instructions_template = 'consent/instructions.html' class Subsession(BaseSubsession): pass class Group(BaseGroup): pass class Player(BasePlayer): pass #captcha = ReCaptchaField(widget=ReCaptchaV2Checkbox)