Ignore:
Timestamp:
11 Feb 2022, 07:21:06 (3 years ago)
Author:
Henrik Bettermann
Message:

Add form field.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r16786 r16798  
    598598        required = False,
    599599        )
     600    abstract = schema.Text(
     601        title = _(u'Abstract'),
     602        description = _(u'Brief abstract of intended project/research work'),
     603        required = False,
     604        )
     605    fst_sit_fname = schema.TextLine(
     606        title = _(u'Full Name'),
     607        required = False,
     608        readonly = False,
     609        )
     610    fst_sit_no = schema.TextLine(
     611        title = _(u'Exam Number'),
     612        required = False,
     613        readonly = False,
     614        )
     615    fst_sit_date = FormattedDate(
     616        title = _(u'Exam Date'),
     617        required = False,
     618        readonly = False,
     619        show_year = True,
     620        )
     621    fst_sit_type = schema.Choice(
     622        title = _(u'Exam Type'),
     623        required = False,
     624        readonly = False,
     625        vocabulary = exam_types,
     626        )
     627    fst_sit_results = schema.List(
     628        title = _(u'Exam Results'),
     629        value_type = ResultEntryField(),
     630        required = False,
     631        readonly = False,
     632        defaultFactory=list,
     633        )
     634    scd_sit_fname = schema.TextLine(
     635        title = _(u'Full Name'),
     636        required = False,
     637        readonly = False,
     638        )
     639    scd_sit_no = schema.TextLine(
     640        title = _(u'Exam Number'),
     641        required = False,
     642        readonly = False,
     643        )
     644    scd_sit_date = FormattedDate(
     645        title = _(u'Exam Date'),
     646        required = False,
     647        readonly = False,
     648        show_year = True,
     649        )
     650    scd_sit_type = schema.Choice(
     651        title = _(u'Exam Type'),
     652        required = False,
     653        readonly = False,
     654        vocabulary = exam_types,
     655        )
     656    scd_sit_results = schema.List(
     657        title = _(u'Exam Results'),
     658        value_type = ResultEntryField(),
     659        required = False,
     660        readonly = False,
     661        defaultFactory=list,
     662        )
    600663    hq_type = schema.Choice(
    601664        title = _(u'Qualification Obtained'),
     
    878941        title = _(u'Referees'),
    879942        value_type = RefereeEntryField(),
    880         required = False,
     943        required = True,
    881944        defaultFactory=list,
    882945        )
Note: See TracChangeset for help on using the changeset viewer.