Feature #446 - Render the submission form using the render_divs macro
authorCaleb Forbes Davis V <caldavis@gmail.com>
Thu, 11 Aug 2011 05:50:16 +0000 (00:50 -0500)
committerCaleb Forbes Davis V <caldavis@gmail.com>
Thu, 11 Aug 2011 05:50:16 +0000 (00:50 -0500)
commitf6bf68cae5f2907924e126a3a2f3a2f015292323
tree3eb9fb19c26235477a196297863a671349b0b331
parentf64e5250906401a3d5a5fc587521bc31e146859c
Feature #446 - Render the submission form using the render_divs macro

- Currently there are individual calls to wtforms_util.render_field_div
for each field in the media submit form, which is too verbose
- Matched the field ordering in submit/form.py to the verbose version
- hacks the correct textareafield rendering with hard-coded rows and
columns.
- TODO - figure out how to pass the textarea dimensions with **kwargs
mediagoblin/submit/forms.py
mediagoblin/templates/mediagoblin/submit/start.html
mediagoblin/templates/mediagoblin/utils/wtforms.html