Changes between Version 4 and Version 5 of AccountManagerPlugin/RegistrationInspector


Ignore:
Timestamp:
Aug 11, 2012, 10:12:50 PM (12 years ago)
Author:
Steffen Hoffmann
Comment:

update to last interface revision

Legend:

Unmodified
Added
Removed
Modified
  • AccountManagerPlugin/RegistrationInspector

    v4 v5  
    7070    """
    7171
    72     def render_registration_fields(req):
     72    def render_registration_fields(req, data):
    7373        """Emit one or multiple additional fields for registration form built.
    7474
    7575        Returns a dict containing a 'required' and/or 'optional' tuple of
    7676         * Genshi Fragment or valid XHTML markup for registration form
    77          * template data object with default values or empty dict
     77         * modified or unchanged data object (used to render `register.html`)
    7878        If the return value is just a single tuple, its fragment or markup
    7979        will be inserted into the 'required' section.