from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Demographics(Page): form_model = 'player' form_fields = ['age', 'gender', 'nationality', 'studies', 'study_field', 'academic_degree', 'employed', 'num_children', 'income', 'future_income', 'parents_income', ] class SelfPerception(Page): form_model = 'player' form_fields = ['patience', 'risk', 'trust1', 'trust2', 'health', 'alcohol', 'smoke', 'exercise', 'severe_loss', 'safety', 'holidays', 'insurance1', 'insurance2', 'future1', 'future2', 'future3', ] class CRT1(Page): form_model = 'player' form_fields = ['crt_concert',] class CRT2(Page): form_model = 'player' form_fields = ['crt_computer',] class CRT3(Page): form_model = 'player' form_fields = ['crt_bacteria',] class Choir(Page): form_model = 'player' form_fields = ['prob_choir',] page_sequence = [ Demographics, SelfPerception, CRT1, CRT2, CRT3, Choir, ]