24
24
<div class="col-md-12">
25
25
<form id="moduleEditForm" class="XiboForm form-horizontal" method="put" action="{{ urlFor("module.settings", {id: module.module.moduleId}) }}">
27
{% set title %}{% trans "Default Duration" %}{% endset %}
28
{% set helpText %}{% trans "The default duration for Widgets of this Module when the user has elected to not set a specific duration." %}{% endset %}
29
{{ forms.input("defaultDuration", title, module.module.defaultDuration, helpText) }}
31
27
{% set title %}{% trans "Valid Extensions" %}{% endset %}
32
28
{% set helpText %}{% trans "The Extensions allowed on files uploaded using this module. Comma Separated." %}{% endset %}
33
{{ forms.input("validExtensions", title, module.module.validExtensions, helpText) }}
29
{{ forms.text("validExtensions", title, module.module.validExtensions, helpText) }}
35
31
{% set title %}{% trans "Image Uri" %}{% endset %}
36
32
{% set helpText %}{% trans "The Image to display for this module. This should be a path relative to the root of the installation." %}{% endset %}
37
{% if moduleConfigLocked %}
38
{{ forms.disabled("imageUri", title, module.module.imageUri, helpText) }}
40
{{ forms.input("imageUri", title, module.module.imageUri, helpText) }}
33
{{ forms.text("imageUri", title, module.module.imageUri, helpText) }}
43
35
{% set title %}{% trans "Preview Enabled?" %}{% endset %}
44
36
{% set helpText %}{% trans "When Preview is Enabled users will be able to see a preview in the layout designer." %}{% endset %}