{# core/modules/scheduler/dialogs/edit/modal.html Wird per hx-swap="beforeend" in
eingefügt. Variablen: job – dict | None (None = Neu-Anlage) actions – dict[key, label] error – str | None container_id – ID des Listen-Containers (nur noch als Fallback übergeben) #} {% extends "dialog_form.html" %} {% set is_new = job is none or job.get('id') is none %} {% block dialog_width %}580{% endblock %} {% block dialog_title %}{{ 'Job bearbeiten' if not is_new else 'Neuer Scheduler-Job' }}{% endblock %} {% block form_id %}scheduler-job-form{% endblock %} {% block form_action %}{% if is_new %}/ui/scheduler/job{% else %}/ui/scheduler/job/{{ job.id }}/update{% endif %}{% endblock %} {% block form_style %}display:flex; flex-direction:column; gap:14px;{% endblock %} {% block form_attrs %}onsubmit="return schedJobValidate(this)"{% endblock %} {% block dialog_body %} {% if error %}register_action() aus core.modules.scheduler.engine aufrufen.