{% set title %}{% trans "Name" %}{% endset %}
{% set helpText %}{% trans "The Name for this Task" %}{% endset %}
{{ forms.input("name", title, task.name, helpText, "", "required") }}
{% set title %}{% trans "Schedule" %}{% endset %}
{% set helpText %}{% trans "The schedule for this task in CRON syntax" %}{% endset %}
{{ forms.input("schedule", title, task.schedule, helpText, "", "required") }}
{% set title %}{% trans "Active" %}{% endset %}
{% set helpText %}{% trans "Is the task active?" %}{% endset %}
{{ forms.checkbox("isActive", title, task.isActive, helpText) }}
{% for option,value in task.options %}
{{ forms.input(option, option, value) }}
{% endfor %}