Commit 5731db1c authored by Pierre Dittgen's avatar Pierre Dittgen

whole red row for row error

parent 8d5a3211
...@@ -80,6 +80,8 @@ ...@@ -80,6 +80,8 @@
{% for d in source_data.data_rows[row.row_id - 2] %} {% for d in source_data.data_rows[row.row_id - 2] %}
{% if loop.index in row.errors %} {% if loop.index in row.errors %}
<td class="table-danger" data-toggle="tooltip" title="[{{row.errors[loop.index].code}}] {{ row.errors[loop.index].message }}"> <td class="table-danger" data-toggle="tooltip" title="[{{row.errors[loop.index].code}}] {{ row.errors[loop.index].message }}">
{% elif 'row' in row.errors %}
<td class="table-danger" data-toggle="tooltip" title="{{ row.errors.row.message }}">
{% else %} {% else %}
<td> <td>
{% endif %} {% endif %}
......
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