{% extends 'base.html' %} {% load filter_fields %} {% block bodydata %} data-project-id="{{ project.id }}" data-project-locked="{{ project.islocked }}" data-category-id="{{ category.id }}" {% endblock %} {% block title %} | Project: {{ project.name }} - Category: {{ category.name }} - Settings{% endblock %} {% block main %}
{% include 'snippets/messages.html' %}
{% include 'categories/category_navigation.html' %}

Category settings

{% csrf_token %}
{% with fields=category.fields.all %} {% if fields %} {% else %}

No fields have been added to the category. Add a field to make it the display field for this category.

{% endif %} {% endwith %}
{% with fields=category.fields.all|only_fields:'Date and Time, Date' %} {% if fields %} {% else %}

No date fields have been added to the category. Add a date field to make it the expiry field for this category.

{% endif %} {% endwith %}

Be careful!

Make this category inactive

The category will no longer be available for data contribution.

Make inactive
Make this category active

The category will be available for data contribution again.

Make active
{% if not project.islocked %}
Delete category

Deleting a category cannot be undone.

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