{% endblock %} + +{% block main_content %} +
+
+ {% block form %} +

{{ _('Are you sure you want to delete the DataStore and Data Dictionary?') }}

+

+

+ {{ h.csrf_input() if 'csrf_input' in h }} + + +
+

+ {% endblock %} +
+
+{% endblock %} diff --git a/ckanext/xloader/templates/xloader/resource_data.html b/ckanext/xloader/templates/xloader/resource_data.html index d9a22058..74a5f715 100644 --- a/ckanext/xloader/templates/xloader/resource_data.html +++ b/ckanext/xloader/templates/xloader/resource_data.html @@ -4,11 +4,11 @@ {% block primary_content_inner %} - {% set action = h.url_for('xloader.resource_data', id=pkg.name, resource_id=res.id) %} {% set show_table = true %} {% block upload_ds_button %} -
+ {% set action = h.url_for('xloader.resource_data', id=pkg.name, resource_id=res.id) %} + {{ h.csrf_input() if 'csrf_input' in h }}