Skip to content

Commit

Permalink
Use error_prefix is available (for 360Giving error grouping)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 28, 2019
1 parent 773a607 commit d58276b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cove/templates/validation_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ <h4>{{ error.schema_title }}</h4>
{% endif %}
<td class="text-center">
{% if values|length > 3 %}
{% if error_prefix %}
<a data-toggle="modal" data-target=".{{"validation-errors-"|concat:error_prefix|concat:forloop.counter}}">
{% else %}
<a data-toggle="modal" data-target=".{{"validation-errors-"|concat:forloop.counter}}">
{% endif %}
{{values|length}}
</a>
{% else %}
Expand Down

0 comments on commit d58276b

Please sign in to comment.