{% import "macros.html" as macros -%}
{% import "misc/preview_modal.html" as preview -%}

{% let job_id = job.job_id|display_some -%}

{# Jobs form -#}
<form id="jobs-form"
      hx-put="/dashboard/employer/jobs/{{ job_id }}/update"
      hx-ext="no-empty-vals"
      hx-trigger="submit"
      hx-exclude="[name=foundation],[name=project]"
      hx-indicator="#dashboard-spinner, #save-spinner"
      hx-disabled-elt="button[type=submit], #cancel-button, #preview-button">
  <div class="space-y-12">
    <div cla