<div id="start_next_job_btn">
  <% if jobs.any? %>
    <%= button_to icon("printer", 
      class: "icon icon-nohover size-6 mr-2", 
      title: "Drucken") + "Nächsten Druckauftrag starten (" + jobs.size.to_s + ")", operator_job_path(jobs.first), 
      params:  { :job => { status: :printing} }, 
      method: :patch, 
      form_class: "btn bg-green-400 text-black" %>
  <% else %>
    <span class="flex items-center bg-gray-300 bg-opacity-80 btn hover:bg-opacity-80 text-hsrm-gray-light">
      <%= icon("printer", class: "icon icon-nohover size-6 mr-2", title: "") %>
      Nächsten Druckauftrag starten
    </span>
  <% end %>
</div>
