diff --git a/ckan/templates/package/snippets/package_form.html b/ckan/templates/package/snippets/package_form.html index d72b216eed7..ee700b175ea 100644 --- a/ckan/templates/package/snippets/package_form.html +++ b/ckan/templates/package/snippets/package_form.html @@ -3,7 +3,7 @@ {# This provides a full page that renders a form for adding a dataset. It can then itself be extended to add/remove blocks of functionality. #} -
+ {% block stages %} {{ h.snippet('package/snippets/stages.html', stages=stage) }} {% endblock %} diff --git a/ckan/templates/package/snippets/resource_form.html b/ckan/templates/package/snippets/resource_form.html index bd33bcc28e3..2a737064c02 100644 --- a/ckan/templates/package/snippets/resource_form.html +++ b/ckan/templates/package/snippets/resource_form.html @@ -4,7 +4,7 @@ {% set errors = errors or {} %} {% set action = form_action or h.url_for(controller='package', action='new_resource', id=pkg_name) %} - + {% block stages %} {# An empty stages variable will not show the stages #} {% if stage %}