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