{% extends 'generic/object_detail.html' %} {% load buttons %} {% load helpers %} {% block content_left_page %}
Custom Field
{% comment %}2.0 TODO: #824 remove name field{% endcomment %}
Name {{ object.name }}
Type {{ object.type | capfirst }}
Weight {{ object.weight }}
Label {{ object.label | placeholder }}
Grouping {{ object.grouping | placeholder }}
Description {{ object.description | render_markdown | placeholder }}
Required {{ object.required | render_boolean }}
Default {{ object.default }}
Filter Logic {{ object.filter_logic | capfirst }}
Move to Advanced Tab {{ object.advanced_ui | render_boolean }}
{% 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 %}