diff --git a/ckanext/scheming/templates/scheming/package/snippets/resource_form.html b/ckanext/scheming/templates/scheming/package/snippets/resource_form.html index 4e6b79a4..88d231b0 100644 --- a/ckanext/scheming/templates/scheming/package/snippets/resource_form.html +++ b/ckanext/scheming/templates/scheming/package/snippets/resource_form.html @@ -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 %}