django-uni-form
django-uni-form copied to clipboard
Django uniform output invalid HTMl
I have a gigantic layout, and part of it is:
layout = Layout(
super(ThisForm, self).get_layout(),
MultiField(
u'<h3>Section J</h3>',
Div(*(
ThisForm.get_section_j_fields() +
[HTML("<a href='#' class='button button-next'>Next</a>")]
)),
css_id = "step9",
css_class = "form-step"
),
[...]
It produces the following HTML:
<p class="blockLabel"/><h3>Section J</h3><p/>
Notice that the first 'p' tag is self closed.
Please submit this ticket to https://github.com/maraujop/django-crispy-forms as it is where development on this project is occuring going forward. Thanks!