{% extends 'generic/object_detail.html' %} {% load buttons %} {% load helpers %} {% block buttons %} {% if perms.extras.add_customfield %} {% clone_button object %} {% endif %} {% if perms.extras.change_customfield %} {% edit_button object key="name" %} {% endif %} {% if perms.extras.delete_customfield %} {% delete_button object key="name" %} {% endif %} {% endblock buttons %} {% block content_left_page %}
Custom Field
Slug {{ object.name }}
Type {{ object.type | capfirst }}
Weight {{ object.weight }}
Label {{ object.label | placeholder }}
Description {{ object.description | render_markdown | placeholder }}
Required {% if object.required %} {% else %} {% endif %}
Default {{ object.default }}
Filter Logic {{ object.filter_logic | capfirst }}
{% if object.choices.exists %}
Custom Field Choices
{% for choice in object.choices.all %} {% endfor %}
Value Weight
{{ choice.value }} {{ choice.weight }}
{% endif %} {% endblock content_left_page %} {% block content_right_page %}
Assignment
Content Types
    {% for ct in object.content_types.all %}
  • {{ ct }}
  • {% endfor %}
Validation Rules
Minimum Value {{ object.validation_minimum | placeholder }}
Maximum Value Type {{ object.validation_maximum | placeholder }}
Validation Regex {% if object.validation_regex %} {{ object.validation_regex | placeholder }} {% else %} {{ object.validation_regex | placeholder }} {% endif %}
{% endblock content_right_page %}