{% import 'macros/form.html' as form %} {% set action = g.form_action or '' %} {% set organizations = h.organizations_available('create_dataset') %} {# 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 %} {% block errors %}{{ form.errors(error_summary) }}{% endblock %} {% block basic_fields %}
{% if h.check_access('package_delete', {'id': data.id}) and not data.state == 'deleted' %} {{ _('Delete') }} {% endif %}
{% if h.check_access('package_delete', {'id': data.id}) and not data.state == 'deleted' %} {% endif %}