Changeset 14465


Ignore:
Timestamp:
26 Jan 2017, 12:00:58 (8 years ago)
Author:
Henrik Bettermann
Message:

It's not the parent object.

File:
1 edited

Legend:

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

    r14460 r14465  
    452452            form_fields = grok.AutoFields(IApplicantRegisterUpdate).select(
    453453                'lastname','reg_number','email')
    454             target = getattr(self.context.__parent__, 'prefix', None)
     454            target = getattr(self.context, 'prefix', None)
    455455            if target in ('trans', 'cert'):
    456456                form_fields.get('reg_number').field.title = u'Matriculation Number'
Note: See TracChangeset for help on using the changeset viewer.