{% extends 'generic/object.html' %}
{% load helpers %}
{% load plugins %}
{% load i18n %}
{% block content %}
{% 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 }} |
|
{{ object.description|markdown|placeholder }} |
{% trans "Required" %} |
{% checkmark object.required %} |
{% trans "Cloneable" %} |
{% checkmark object.is_cloneable %} |
{% if object.choice_set %}
{% trans "Choice Set" %} |
{{ object.choice_set|linkify }} ({{ object.choice_set.choices|length }} choices) |
{% endif %}
{% trans "Default Value" %} |
{{ object.default }} |
{% 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 %}
{% for ct in object.content_types.all %}
{{ ct }} |
{% endfor %}
{% 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 %}