Skip to content
Snippets Groups Projects
Commit 863b9acd authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Disable editing of organization extras in form for now (logic needs to be fixed)

parent ec47ba99
Branches
Tags
1 merge request!50Upgraded to CKAN 2.10
......@@ -47,7 +47,7 @@
{{ form.input_address('gnd','GND URI', value=extras.gnd, index=6, placeholder='https://d-nb.info/gnd/1136109587', type='text', attrs={}) }}
{% for extra in data.extras %}
<!-- {% for extra in data.extras %}
{% set custom_extras = ['person','street','location','telephone','mail','web','gnd'] %}
{% if extra.key not in custom_extras %}
{% set prefix = 'extras__%d__' % (loop.index0 + (custom_extras|count)) %}
......@@ -76,7 +76,7 @@
values=(extra.key, extra.value, extra.deleted),
error=errors[prefix ~ 'key'] or errors[prefix ~ 'value']
) }}
{% endfor %}
{% endfor %} -->
</div>
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment