{% if uuid is not empty %} {% set item = createModel('JobsRegistry').findById(uuid) %} {% endif %} {% set job = service('queue').create(item.name) %} {% set properties = job.descriptor().collection('parameters') %} {% component 'semantic~panel' %}

{{ labels.job }}

{{ item.name }}
{{ component('queue::admin.interval',{ class: 'mini selection' }) }}
{{ component('semantic~form.fields.calendar',{ id: 'schedule_time_calendar', field_name: 'schedule_time', field_value: today() }) }}

{{ labels.properties }}

{{ component('semantic~properties.items',{ items: properties }) }}
{{ component('semantic~form.footer',{ button_title: buttons.push }) }}
{% endcomponent %}