added parties

This commit is contained in:
2025-11-22 11:46:40 +01:00
parent 65fd97c8c1
commit 03ee9fefec
14 changed files with 232 additions and 2 deletions

View File

@ -0,0 +1,10 @@
<% content_for :title, "Editing party" %>
<div class="md:w-2/3 w-full">
<h1 class="font-bold text-4xl">Editing party</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" %>
</div>