﻿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
8272	Patch to forms to add a fieldset attribute to Field for use with templates	jbowman	jbowman	"I needed to create a complex form that used fieldsets to divide sections of the form. I finally figured out that to do this, I needed to modify the forms code a bit. I've tested this patch against the latest version of svn and it worked. Below is a snippet of a template to show you how you would use the new fieldset attribute for more complex form layouts. The diff file is attached.

  <form action=""."" method=""post"">
{% regroup form by fieldset as fields_list %}
{% for field in fields_list %}
    <fieldset>
    <legend>{{ field.grouper|upper }}</legend>
    {% for f in field.list %}
        {{ f.label_tag }} {{ f }}
    {% endfor %}
    </fieldset>
{% endfor %}
  <input type=""submit"" value=""Submit"" />
  </form>"	New feature	closed	Forms	dev	Normal	duplicate		bmispelon@…	Accepted	1	1	1	0	0	0
