Commit 6e0cad48 authored by Jérome Perrin's avatar Jérome Perrin

configurator: fix (a bit) invalid HTML

Insert fields in a <div>, not in a <table>, fields are not valid table
elements (they are not <tr>).

Configurator still produce invalid HTML, this seem to be the minimal fix
to have matrixboxs rendered properly without having to rewriting all
configurator page templates.
parent 9390cef5
Pipeline #5659 failed with stage
...@@ -65,11 +65,11 @@ ...@@ -65,11 +65,11 @@
<table width="100%" class="Border"> <table width="100%" class="Border">
<tr> <tr>
<td tal:repeat="cell row" valign="top"> <td tal:repeat="cell row" valign="top">
<table width="100%"> <div width="100%">
<tal:block tal:repeat="field python:form.get_fields_in_group(groups[cell])"> <tal:block tal:repeat="field python:form.get_fields_in_group(groups[cell])">
<tal:block metal:use-macro="here/field_render/macros/field_render"/> <tal:block metal:use-macro="here/field_render/macros/field_render"/>
</tal:block> </tal:block>
</table> </div>
</td> </td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment