diff --git a/cove_rdls/templates/cove_rdls/validation_table.html b/cove_rdls/templates/cove_rdls/validation_table.html
index 2ebfb6c..9ac1ebb 100644
--- a/cove_rdls/templates/cove_rdls/validation_table.html
+++ b/cove_rdls/templates/cove_rdls/validation_table.html
@@ -39,7 +39,9 @@
{% elif errors.0.validator == "uniqueItems" %}
{{ errors.0.path_ending}}
has non-unique items. The items in {{ errors.0.path_ending}}
must be unique.
{% elif errors.0.validator == "enum" %}
- {{ errors.0.path_ending }}
does not match any code. {{ errors.0.path_ending }}
must match a code from the codelist specified in the schema.
+ {% with errors.0.path_ending|split:"/"|first as value %}
+ {{ value }}
does not match any code. {{ value }}
must match a code from the codelist specified in the schema.
+ {% endwith %}
{% elif errors.0.validator == "pattern" and errors.0.path|length > 2 and errors.0.path|slice:"-2:-1" == "Link" and errors.0.path|last == "rel" %}
{{ errors.0.path_ending }}
does not match the regex {{ errors.0.validator_value }}
. With the exception of the first item in the links
array, the value of {{ errors.0.path_ending }}
must not be 'describedby'.
{% elif errors.0.validator == "format" and errors.0.validator_value == "date" %}