Small layout adjustments and form errors in partial outsourced
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-30 02:11:51 +02:00
parent fd3149b13f
commit d8c6a7ab82
10 changed files with 85 additions and 76 deletions

View File

@@ -1,4 +1,16 @@
<% content_for :title, "Kategorien & Typen" %>
<% content_for :title, "Kategorien" %>
<!-- NEU: Fügt den Hinzufügen-Button oben rechts in die Hauptleiste ein -->
<% content_for :top_bar_actions do %>
<%= link_to new_category_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 %>
<svg class="h-4 w-4" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" />
</svg>
<div class="hidden md:inline">
Kategorie anlegen
</div>
<% end %>
<% end %>
<div class="space-y-6">