{% set title %}{% trans "Name" %}{% endset %}
{{ forms.disabled("command", title, field.command, field.description) }}
{% if field.commandString != "" %}
{{ forms.disabled("", "", "This Command has a default Command String."|trans, field.commandString) }}
{% endif %}
{% set fieldId = "commandString_" ~ field.commandId %}
{% set title %}{% trans "Command" %}{% endset %}
{% set helpText %}{% trans "The Command String for this Command on this display" %}{% endset %}
{{ forms.input(fieldId, title, field.commandStringDisplayProfile, helpText, "XiboCommand") }}
{% if field.validationString != "" %}
{{ forms.disabled("", "", "This Command has a default Valildation String."|trans, field.validationString) }}
{% endif %}
{% set fieldId = "validationString_" ~ field.commandId %}
{% set title %}{% trans "Validation" %}{% endset %}
{% set helpText %}{% trans "The Validation String for this Command on this display" %}{% endset %}
{{ forms.input(fieldId, title, field.validationStringDisplayProfile, helpText) }}