">
└── Status:
<%= @employer.active == false ? "inactive" : "active" %>
├── Effective Date:
<%= @employer.effective_date %>
└── Key Chain
<% @employer.attributes.with_indifferent_access.slice(:pl_plan_key, :company_pb_entity_key, :group_number).each do |attribute_name, attribute_value| %>
">
├── <%= attribute_name.titleize %>:
<%= attribute_value.present? ? attribute_value.to_s : "waiting" %>
<% end %>
<% if @employer&.id_card_configuration&.plans.present? %>
└── Plans
<% @employer.id_card_configuration.plans.pluck(:title, :pb_product_key).each do |plan| %>
├── <%= plan.first %>
">
└── PB Product Key:
<%= plan.last.present? ? plan.last.to_s : "waiting" %>
<% end %>
<% end %>
<%= link_to 'Edit Employer', edit_employer_path(@employer.slug), data: { turbo: false }, class: "flex justify-center items-center w-full cursor-pointer bg-brightlava hover:bg-deepcove border-2 border-brightlava text-platinum text-lg font-bold px-3 rounded-lg h-10 transition duration-100" %>