#3108 closed enhancement (wontfix)
Add Form.as_dl() to newforms
Reported by: | Adrian Holovaty | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Forms | Version: | dev |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Attachments (1)
Change History (7)
comment:1 by , 18 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 18 years ago
Has patch: | set |
---|
is there some particular point in this being closed again? using dl in for list is becoming common practice and gives great possibilities for quickly styling forms in a clean way without having to write html code (plus it looks good from the beginning).
it has been mentioned that the as_ functions are heavily used as shortcuts and that django should handle common cases; i guess this is one!
as of how to handle the error_row, i suggest using u'<dd>%s</dd>')
-- it's not perfectly clean from a semantic point of view, but the best we can get in current (x)html.
by , 18 years ago
Attachment: | as_dl.patch added |
---|
comment:3 by , 17 years ago
Resolution: | wontfix |
---|---|
Status: | closed → reopened |
Version: | → SVN |
please? this is much more usefull than as_p or as_ul
comment:4 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Please don't reopen tickets that have been wontfixed by a core maintainer. Read the contributing doc for how to take this further. However, since you can easily write your own method, this is really a non-issue, so don't expect too much action.
comment:5 by , 13 years ago
Easy pickings: | unset |
---|---|
UI/UX: | unset |
I don't understand how anyone can think form.as_p() or form.as_ul() is in any way a better use case than form.as_dl(). The patch is right there, ready to be reviewed.
comment:6 by , 12 years ago
I'm new to Django, this is one of the things I want to do. Formatting a form using dl is the way to go. See the Twitter Bootstrap for example.
Wontfix -- let's cap the default form output to the three choices we already have.