{%- if not c.group_type -%}

group_type not passed to template. your version of CKAN might not be compatible with ckanext-scheming

{%- endif -%}
{%- set schema = h.scheming_get_group_schema(c.group_type) -%} {%- for field in schema['fields'] -%} {%- snippet 'scheming/snippets/form_field.html', field=field, data=data, errors=errors, licenses=licenses, entity_type='group', object_type=c.group_type -%} {%- endfor -%}
{% block delete_button %} {% if action == 'edit' %} {% if h.check_access('group_delete', {'id': data.id}) and action=='edit' %} {% set locale = h.dump_json({'content': _('Are you sure you want to delete this Group?')}) %} {% block delete_button_text %}{{ _('Delete') }}{% endblock %} {% endif %} {% endif %} {% endblock %}