Skip to content

Commit

Permalink
fix(templates): added super call to resource form error;
Browse files Browse the repository at this point in the history
- Added super call to errors for Resource CreateView specific error message.
  • Loading branch information
JVickery-TBS committed Aug 1, 2023
1 parent a92778b commit eddde7d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
{%- snippet 'scheming/snippets/errors.html',
errors=errors, fields=schema.resource_fields,
entity_type='dataset', object_type=dataset_type -%}
{%- else -%}
{# Resource CreateView You must add at least one data resource #}
{{ super() }}
{%- endif -%}
{% endblock %}

Expand Down

0 comments on commit eddde7d

Please sign in to comment.