{% extends 'generic/object.html' %} {% load helpers %} {% load plugins %} {% load i18n %} {% block content %}
{% trans "Custom Field" %}
{% if object.choice_set %} {% endif %}
{% trans "Name" %} {{ object.name }}
Type {{ object.get_type_display }} {% if object.object_type %}({{ object.object_type.model|bettertitle }}){% endif %}
{% trans "Label" %} {{ object.label|placeholder }}
{% trans "Group Name" %} {{ object.group_name|placeholder }}
{% trans "Description" %} {{ object.description|markdown|placeholder }}
{% trans "Required" %} {% checkmark object.required %}
{% trans "Cloneable" %} {% checkmark object.is_cloneable %}
{% trans "Choice Set" %} {{ object.choice_set|linkify }} ({{ object.choice_set.choices|length }} choices)
{% trans "Default Value" %} {{ object.default }}
{% trans "Behavior" %}
{% trans "Search Weight" %} {% if object.search_weight %} {{ object.search_weight }} {% else %} {% trans "Disabled" %} {% endif %}
{% trans "Filter Logic" %} {{ object.get_filter_logic_display }}
{% trans "Display Weight" %} {{ object.weight }}
{% trans "UI Visibility" %} {{ object.get_ui_visibility_display }}
{% plugin_left_page object %}
{% trans "Object Types" %}
{% for ct in object.content_types.all %} {% endfor %}
{{ ct }}
{% trans "Validation Rules" %}
{% trans "Minimum Value" %} {{ object.validation_minimum|placeholder }}
{% trans "Maximum Value" %} {{ object.validation_maximum|placeholder }}
{% trans "Regular Expression" %} {% if object.validation_regex %} {{ object.validation_regex }} {% else %} {{ ''|placeholder }} {% endif %}
{% plugin_right_page object %}
{% plugin_full_width_page object %}
{% endblock %}