Ignore:
Timestamp:
10 Jun 2011, 06:58:09 (13 years ago)
Author:
Henrik Bettermann
Message:
  • Use user_data attribute to display more appropriate workflow messages.
  • confirm_passport must not be an attribute of Applicant. Use confirm_passport only in form to allow submission.
  • application_state must not be an attribute of Applicant.
File:
1 edited

Legend:

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

    r6313 r6322  
    347347        max_size = 20480,
    348348        )
    349     confirm_passport = schema.Bool(
    350         title = u"Passport picture confirmed",
    351         default = False,
    352         required = True,
    353         )
     349
    354350    #
    355351    # Process Data
     
    408404    omit fields. This has to be done in the respective form page.
    409405    """
    410     application_state = Attribute("The workflow state of an applicant object.")
    411 
    412406    screening_score = schema.Int(
    413407        title = u'Screening Score',
     
    427421        readonly = True,
    428422        )
    429     entry_session = schema.TextLine(
    430         # XXX: should be choice
     423    entry_session = schema.Choice(
     424        source = entry_session_vocab,
    431425        title = u'Entry Session',
    432426        required = False,
    433         readonly = True,
     427        readonly = True
    434428        )
    435429    notice = schema.Text(
     
    437431        required = False,
    438432        readonly = True,
    439         )
    440     confirm_passport = schema.Bool(
    441         title = u"I confirm that the Passport Photograph uploaded on this form is a true picture of me.",
    442         default = False,
    443         required = True,
    444433        )
    445434
Note: See TracChangeset for help on using the changeset viewer.