<%= link_to dashboard_path, class: "flex items-center h-14 space-x" do %>
<%= icon "arrow-big-left-dash", class: "h-full w-20 text-center" %>
<%= "Back to Dashboard" %>
<% end %>
ID Card Printer
<% @queued.each do |qu| %>
<%= qu.employer.name %> (
<%= qu.queued_card_count %>
)
<%= link_to print_queued_by_employer_id_card_print_path(qu.pl_plan_key), data: { turbo: false }, class: "flex h-7 w-14 transition duration-100" do %> <%= icon "printer", class: "h-full w-full text-center text-platinum hover:text-bronze bg-atmosphere hover:bg-deepcove border-2 border-atmosphere rounded-md p-0.5" %> <% end %>
<% end %> <% @not_queued.each_with_index do |nq, i| %> <% if i == 0 %>
<% end %>
<%= nq.employer.name %> (
<%= nq.queued_card_count %>
)
<%= link_to print_queued_by_employer_id_card_print_path(nq.pl_plan_key), data: { turbo: false }, class: "flex h-7 w-14 transition duration-100 pointer-events-none opacity-50 cursor-not-allowed" do %> <%= icon "printer", class: "h-full w-full text-center text-platinum bg-atmosphere hover:bg-deepcove border-2 border-atmosphere rounded-md p-0.5" %> <% end %>
<% end %>
<%= link_to "Print All Queued", print_all_queued_id_card_print_index_path, data: { turbo: false }, class: "flex justify-center items-center w-1/2 h-15 text-platinum hover:text-bronze bg-cobalt-vivid hover:bg-deepcove border-2 border-cobalt-vivid rounded-lg p-2" %>
Print ALL Cards for Group
<%= select_tag "employer_select", options_for_select(Employer.all.pluck(:name, :pl_plan_key)), include_blank: "Select Group", data: { action: "change->link-updater#update", link_updater_target: "selector" }, class: "w-full rounded-lg rounded-r-none #{TailwindFormBuilder::SELECT_FIELD_STYLE}" %> <%= link_to "#", class: 'w-1/4 h-11 bg-cobalt-vivid hover:bg-deepcove border-2 border-cobalt-vivid text-platinum hover:text-bronze font-bold px-3 rounded-r-lg h-10 transition duration-100', data: { turbo: false, link_updater_target: "link" } do %> <%= icon "printer", class: "h-full w-full text-center rounded-md p-0.5" %> <% end %>