from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Demog(Page): form_model = 'player' form_fields = ['postalcode', 'age', 'gender', 'ethnicty', 'educ', 'profession', 'workhours', 'income', 'maritalstatus', 'nos_house', 'older60', 'under18'] class Covid(Page): form_model = 'player' form_fields = ['highrisk', 'virus_aff', 'virus_nores', 'virus_iso', 'virus_qua', 'shop_none', 'shop_more', 'shop_out', 'shop_over', 'job_none', 'job_wfh', 'job_loss', 'job_fired', 'difficulties', 'difficulties_specify', 'diff_none', 'diff_planet', 'diff_int', 'diff_nat', 'diff_loc', 'diff_socmed', 'diff_media', 'diff_other', 'diff_notaff', 'severity', 'best_option', 'difficulties_text', 'perf_who', 'perf_io', 'perf_ng', 'perf_co', 'perf_ot', 'perf_md', 'perf_mdc', 'perf_pmc', 'perf_med'] class Behavioral(Page): form_model = 'player' form_fields = ['beh_risk', 'beh_pun1', 'beh_pun2', 'beh_favor', 'beh_econ', 'beh_econ_oth', 'beh_pol', 'beh_pol_oth'] page_sequence = [Demog, Covid, Behavioral]