- added parties

- changed layout for index and added svgs
This commit is contained in:
2025-11-22 19:35:58 +01:00
parent d6623598a1
commit c9bf64dc8c
16 changed files with 100 additions and 130 deletions

View File

@ -1,10 +1,9 @@
<% content_for :title, "Editing party" %>
<div class="md:w-2/3 w-full">
<h1 class="font-bold text-4xl">Editing party</h1>
<h1 class="font-bold text-4xl">Party bearbeiten</h1>
<%= render "form", party: @party %>
<%= link_to "Show this party", @party, class: "w-full sm:w-auto text-center mt-2 sm:mt-0 sm:ml-2 rounded-md px-3.5 py-2.5 bg-gray-100 hover:bg-gray-50 inline-block font-medium" %>
<%= link_to "Back to parties", parties_path, class: "w-full sm:w-auto text-center mt-2 sm:mt-0 sm:ml-2 rounded-md px-3.5 py-2.5 bg-gray-100 hover:bg-gray-50 inline-block font-medium" %>
<%= link_to "Übersicht", parties_path, class: "btn-show" %>
</div>