Commit d2b1a80c authored by Pierre Dittgen's avatar Pierre Dittgen

Use ul,li for structure errors

parent 5f2c96eb
......@@ -91,20 +91,21 @@
{% if report.error_count > 0 %}
{% if report.table.errors.structure %}
<h3 class="my-4">Erreurs de structure</h3>
<ul>
{# Non-column errors #}
{% for err in report.table.errors.structure %}
{% if not err.in_column_comp %}
{{ err.content | safe }}
<li>{{ err.content | safe }}</li>
{% endif %}
{% endfor %}
{# Column errors #}
{% for err in report.table.errors.structure %}
{% if err.in_column_comp %}
{{ err.content | safe }}
<li>{{ err.content | safe }}</li>
{% endif %}
{% endfor %}
</ul>
{# Afficher un tableau de comparaison des colonnes #}
{% if report.table.column_comparison_needed %}
......
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