Commit 8e52e1e0 authored by Pierre Dittgen's avatar Pierre Dittgen

Adding tooltips for body errors

parent 041266fe
......@@ -74,7 +74,7 @@
<tr>
{% for d in source_data.data_rows[err['row-number'] - 2] %}
{% if loop.index == err['column-number'] %}
<td class="table-danger">{{ d }}</td>
<td class="table-danger" data-toggle="tooltip" title="{{ err.message }}">{{ d }}</td>
{% else %}
<td>{{ d }}</td>
{% endif %}
......@@ -100,4 +100,9 @@
{% endif %}
{% endblock %}
{% block footer %}
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
{% endblock %}
\ No newline at end of file
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