{% extends "base.html" %} {% block bodydata %} data-project-id="{{field.category.project.id}}" data-category-id="{{field.category.id}}" data-field-id="{{field.id}}"{% endblock %} {% block title %} | Field: {{ field.name }}{% endblock %} {% block main %}
{% include 'snippets/messages.html' %}
Field

{{ field.name }}

{% if field.description %}

{{ field.description|linebreaksbr }}

{% endif %}
Key{{field.key}}
Type{{field.type_name}}
Category{{field.category.name}}

Settings

{% csrf_token %}
{% if field.textfield %}
{% endif %} {% if field.numericfield %}
{% endif %}
{% if field.lookupfield %} {% include 'snippets/lookup-values.html' with field=field.lookupfield %} {% endif %} {% if field.multiplelookupfield %} {% include 'snippets/lookup-values.html' with values=field.multiplelookupfield %} {% endif %}

Be careful!

{% if is_display_field %}

The field {{ field.name }} is set as display field for category {{ field.category.name }}. If you wish to deactivate or delete the field, you have to select another display field in the category settings first.

{% else %}
Make the field inactive

The field will be no longer available for data contribution and data validation.

Make inactive
Make the field active

The field will be available for data contribution and data validation again.

Make active
Delete field

Deleting a field can not be undone.

Delete this field
{% endif %}
{% endblock %} {% block modals %} {% endblock %} {% block libraries %} {% endblock %}