{%- 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_organization_schema(c.group_type) -%} {%- for field in schema['fields'] -%} {%- snippet 'scheming/snippets/form_field.html', field=field, data=data, errors=errors, licenses=licenses, schema=schema -%} {%- endfor -%}
{% block delete_button %} {% 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 Organization?')}) %} {% block delete_button_text %}{{ _('Delete') }}{% endblock %} {% endif %} {% endblock %}