#21223 closed Cleanup/optimization (fixed)
Add id_for_label in Django forms topic documentation
Reported by: | Owned by: | saoili | |
---|---|---|---|
Component: | Documentation | Version: | 1.5 |
Severity: | Normal | Keywords: | form, afraid-to-commit |
Cc: | Daniele Procida | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Please, add this feature to the documentations.
https://docs.djangoproject.com/en/dev/topics/forms/#looping-over-the-form-s-fields
{{ field.id_for_label }}
The id of the field that will be used in the input element’s field.
I need to see a lot of files to find something to get this value of a form field.
Change History (9)
comment:1 by , 11 years ago
Easy pickings: | set |
---|---|
Summary: | Add id_for_label in Django forms api documentation → Add id_for_label in Django forms topic documentation |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Cleanup/optimization |
comment:2 by , 11 years ago
Cc: | added |
---|---|
Keywords: | afraid-to-commit added |
I've marked this ticket as especially suitable for first-time committers or people following the Don't be afraid to commit tutorial. If you're tackling this ticket, please don't hesitate to ask me for guidance if you'd like any, either here or on the Django IRC channels, where I can be found as EvilDMP.
comment:3 by , 11 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 11 years ago
Owner: | removed |
---|---|
Status: | assigned → new |
comment:5 by , 11 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:6 by , 11 years ago
Owner: | changed from | to
---|
comment:8 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
It's already in the forms API docs, but yes, we could add it the topic doc as you've suggested.