class UserDetailsForm(SyncedInputsMixin, IndicoForm): title = IndicoEnumSelectField(_('Title'), enum=UserTitle) first_name = StringField(_('First name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) last_name = StringField(_('Family name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) affiliation = StringField(_('Affiliation'), widget=SyncedInputWidget()) address = TextAreaField(_('Address'), widget=SyncedInputWidget(textarea=True)) phone = StringField(_('Phone number'), widget=SyncedInputWidget())
class MultipassRegistrationForm(SyncedInputsMixin, IndicoForm): first_name = StringField(_('First Name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) last_name = StringField(_('Family name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) affiliation = StringField(_('Affiliation'), widget=SyncedInputWidget()) email = SelectField(_('Email address'), [DataRequired(), _check_existing_email]) address = StringField(_('Address'), widget=SyncedInputWidget(textarea=True)) phone = StringField(_('Phone number'), widget=SyncedInputWidget()) comment = TextAreaField(_('Comment'), description=_("You can provide additional information or a comment for the " "administrators who will review your registration."))
class MultipassRegistrationForm(SyncedInputsMixin, IndicoForm): first_name = StringField( _('First Name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) last_name = StringField( _('Family name'), [used_if_not_synced, DataRequired()], widget=SyncedInputWidget()) affiliation = StringField(_('Affiliation'), widget=SyncedInputWidget()) email = SelectField(_('Email address'), [DataRequired(), _check_existing_email]) address = StringField(_('Address'), widget=SyncedInputWidget(textarea=True)) phone = StringField(_('Phone number'), widget=SyncedInputWidget())