{% if currentUser.featureEnabled('folder.view') %}
{{ forms.hidden('folderId') }}
{% endif %}
{% set title %}{% trans "Name" %}{% endset %}
{% set helpText %}{% trans "The Name for this Display Group" %}{% endset %}
{{ forms.input("displayGroup", title, "", helpText) }}
{% set title %}{% trans "Description" %}{% endset %}
{% set helpText %}{% trans "A short description of this Display Group" %}{% endset %}
{{ forms.input("description", title, "", helpText) }}
{% if currentUser.featureEnabled("tag.tagging") %}
{% set title %}{% trans "Tags" %}{% endset %}
{% set helpText %}{% trans "Tags for this Display Group - Comma separated string of Tags or Tag|Value format. If you choose a Tag that has associated values, they will be shown for selection below." %}{% endset %}
{{ forms.inputWithTags("tags", title, "", helpText, 'tags-with-value') }}
{% set title %}{% trans "Tag value" %}{% endset %}
{{ forms.dropdown("tagValue", "single", title, "", options, "key", "value") }}
{% set title %}{% trans "Tag value" %}{% endset %}
{% set helpText %}{% trans "Please provide the value for this Tag and confirm by pressing enter on your keyboard." %}{% endset %}
{{ forms.input("tagValueInput", title, "", helpText) }}
{% trans "This tag requires a set value, please select one from the Tag value dropdown or provide Tag value in the dedicated field." %}
{% endif %}
{% set title %}{% trans "Dynamic Group?" %}{% endset %}
{% set helpText %}{% trans "Are the members of this group dynamic?" %}{% endset %}
{{ forms.checkbox("isDynamic", title, 0, helpText) }}
{{ forms.message("Add reference fields if needed"|trans) }}
{% set title %}{% trans "Reference 1" %}{% endset %}
{{ forms.input("ref1", title, displayGroup.ref1) }}
{% set title %}{% trans "Reference 2" %}{% endset %}
{{ forms.input("ref2", title, displayGroup.ref2) }}
{% set title %}{% trans "Reference 3" %}{% endset %}
{{ forms.input("ref3", title, displayGroup.ref3) }}
{% set title %}{% trans "Reference 4" %}{% endset %}
{{ forms.input("ref4", title, displayGroup.ref4) }}
{% set title %}{% trans "Reference 5" %}{% endset %}
{{ forms.input("ref5", title, displayGroup.ref5) }}