Opened 9 years ago

Closed 9 years ago

#3027 closed enhancement (fixed)

Newforms - more flexible as_table (and the like) formats

Reported by: SmileyChris Owned by: adrian
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: UI/UX:

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).

Change History (1)

comment:1 Changed 9 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(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

Note: See TracTickets for help on using tickets.
Back to Top