Removed category badge in item#show
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / scan_js (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
CI / system-test (push) Has been cancelled

This commit is contained in:
2026-05-31 01:27:44 +02:00
parent c1fc589883
commit 92786161b4

View File

@@ -28,11 +28,11 @@
<!-- STAMMDATEN-BOX -->
<div class="bg-white border border-gray-200 rounded-xl shadow-sm p-4 md:p-6 space-y-4">
<div class="flex items-start justify-between flex-wrap gap-2">
<h2 class="text-lg md:text-xl font-bold text-gray-900 leading-tight"><%= @item.name %></h2>
<h2 class="text-lg md:text-xl font-bold text-gray-900 leading-tight"><%= @item.name %>
<span class="block text-[12px] text-gray-400 mt-0.5"><%= @item.category.name %></span>
</h2>
<div class="flex items-center gap-2 shrink-0">
<%= render "layouts/badge", type: @item.condition_badge_type %>
<%= render "layouts/badge", type: :category, label: @item.category.name %>
</div>
</div>