id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 4511 Missing useful ID attribute in

,

  • and of auto generated form from as_p, as_ul and as_table. gustavo@… Adrian Holovaty "Design a form built with Form.as_p(), Form.as_ul() or Form.as_table() is dificult becouse there is no ID in
  • ,

    or tags. For example: The field ""name"" need to be larger than the others. I can do that with tag becouse it have an id=""id_name"", but if I need to do some changes on the entire block containing the ""name"" field, it´s impossible. '''Current form generation:''' {{{

  • }}} '''Proposed way:''' {{{
  • }}} This ID attribute is very useful when doing form design, please considere it. I change the forms.py file from newforms package to act as proposed, and it´s included in this ticket as a patch." closed Forms dev wontfix as_p,as_ul,as_table,id Unreviewed 1 0 0 0 0 0