Opened 18 years ago
Closed 18 years ago
#3027 closed enhancement (fixed)
Newforms - more flexible as_table (and the like) formats
Reported by: | Chris Beaven | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | contrib.admin | Version: | |
Severity: | normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It would be much nicer if as_table and the like didn't actually include the <table>
wrapper (or <ul>
, etc). For most flexibility, the designer should be able to put that in so they can class it however they like.
This is in-line with unordered_list
filter behaviour (not that I'm a big fan of that filter).
Note:
See TracTickets
for help on using tickets.
(In [4075]) newforms: Fixed #3027 -- Changed Form as_table(), as_ul(), as_table_with_errors() and as_ul_with_errors() to exclude <table> and <ul>. Good idea, SmileyChris