﻿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
27565	{{ form.as_p }} with RadioSelect generates invalid HTML	Maciej Olko	nobody	"When working with forms, RadioSelect with {{ form.as_p }} renders to:
{{{
<p>
    <label for=""…"">…</label>
    <ul id=""…>
        <li><label for=""…""><input id=""…"" name=""…"" type=""radio"" value=""…"" required /> …</label></li>
        <li><label for=""…""><input id=""…"" name=""…"" type=""radio"" value=""…"" required /> …</label></li>
        …
    </ul>
</p>
}}}
which is totally invalid. Vide http://stackoverflow.com/questions/10601345/ul-element-can-never-be-a-child-of-p-element .
It should render to:
{{{
<p>
    <label for=""…"">…</label>
</p>
<ul id=""…>
    <li><label for=""…""><input id=""…"" name=""…"" type=""radio"" value=""…"" required /> …</label></li>
    <li><label for=""…""><input id=""…"" name=""…"" type=""radio"" value=""…"" required /> …</label></li>
    …
</ul>
}}}"	Bug	new	Forms	1.10	Normal		RadioSelect, invalid html, ul		Unreviewed	0	0	0	0	1	1
