added parties
This commit is contained in:
9
app/views/parties/new.html.erb
Normal file
9
app/views/parties/new.html.erb
Normal file
@ -0,0 +1,9 @@
|
||||
<% content_for :title, "New party" %>
|
||||
|
||||
<div class="md:w-2/3 w-full">
|
||||
<h1 class="font-bold text-4xl">New party</h1>
|
||||
|
||||
<%= render "form", party: @party %>
|
||||
|
||||
<%= 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>
|
||||
Reference in New Issue
Block a user