Changes between Version 4 and Version 5 of AccountManagerPlugin/RegistrationInspector
- Timestamp:
- Aug 11, 2012, 10:12:50 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AccountManagerPlugin/RegistrationInspector
v4 v5 70 70 """ 71 71 72 def render_registration_fields(req ):72 def render_registration_fields(req, data): 73 73 """Emit one or multiple additional fields for registration form built. 74 74 75 75 Returns a dict containing a 'required' and/or 'optional' tuple of 76 76 * Genshi Fragment or valid XHTML markup for registration form 77 * template data object with default values or empty dict77 * modified or unchanged data object (used to render `register.html`) 78 78 If the return value is just a single tuple, its fragment or markup 79 79 will be inserted into the 'required' section.