{% 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." %}
{% set title %}{% trans "Expiry date" %}{% endset %}
{% set helpText %}{% trans "Select the date and time after which this media should be removed from the CMS - it will be removed from any existing widgets as well" %}{% endset %}
{{ forms.dateTime("expires", title, expiryDate, helpText) }}
{% set title %}{% trans "Retire this media?" %}{% endset %}
{% set helpText %}{% trans "Retired media remains on existing Layouts but is not available to assign to new Layouts." %}{% endset %}
{{ forms.checkbox("retired", title, media.retired, helpText) }}
{% set title %}{% trans "Enable Media Stats Collection?" %}{% endset %}
{% set helpText %}{% trans "Enable the collection of Proof of Play statistics for this Media Item. Ensure that ‘Enable Stats Collection’ is set to ‘On’ in the Display Settings." %}{% endset %}
{% set offOption %}{% trans "Off" %}{% endset %}
{% set onOption %}{% trans "On" %}{% endset %}
{% set inheritOption %}{% trans "Inherit" %}{% endset %}
{% set options = [
{ id: "Off", value: offOption },
{ id: "On", value: onOption },
{ id: "Inherit", value: inheritOption }
] %}
{{ forms.dropdown("enableStat", "single", title, media.enableStat, options, "id", "value", helpText) }}
{% set title %}{% trans "Update this media in all layouts it is assigned to?" %}{% endset %}
{% set helpText %}{% trans "Note: It will only be updated in layouts you have permission to edit." %}{% endset %}
{% if settings.LIBRARY_MEDIA_UPDATEINALL_CHECKB == 1 %}
{% set checked = 1 %}
{% endif %}
{{ forms.checkbox("updateInLayouts", title, checked, helpText) }}
{% else %}
{% set message %}{% trans "Sorry, Fonts do not have any editable properties." %}{% endset %}
{{ forms.message(message) }}
{% endif %}