<% content_for :title, "Gesamtbestand" %> <% content_for :top_bar_actions do %> <%= link_to new_item_path, class: "py-2 px-4 text-sm font-semibold rounded-lg bg-blue-600 text-white hover:bg-blue-700 flex items-center gap-1.5 shadow-sm transition" do %> Artikel hinzufügen <% end %> <% end %>
<%= render "items/search_bar", show_csv: true %> <% if @items.any? %> <%= render "items/list", items: @items %> <% else %>

Bisher sind keine Inventargegenstände erfasst.

Klicke oben rechts auf "Artikel hinzufügen", um das erste Gerät einzubuchen.

<% end %>