Changes between Version 1 and Version 2 of Ticket #475, comment 2
- Timestamp:
- Jul 26, 2012, 9:21:23 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #475, comment 2
v1 v2 1 The problem is that the string is specified in “description” instead of “label” in `edit/forms.py`. But when you specify it as label, the check box is ''behind'' the label. So you have to change `templates/mediagoblin/utils/wtforms.html` to render check boxes in another way . There is an example in the [http://wtforms.simplecodes.com/docs/0.6.1/fields.html#wtforms.fields.Field.type WTForms documentation].1 The problem is that the string is specified in “description” instead of “label” in `edit/forms.py`. But when you specify it as label, the check box is ''behind'' the label. So you have to change `templates/mediagoblin/utils/wtforms.html` to render check boxes in another way (“field” first, then label). There is an example in the [http://wtforms.simplecodes.com/docs/0.6.1/fields.html#wtforms.fields.Field.type WTForms documentation].