aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/events/index.html.erb
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-12-17 16:32:09 +0000
committerMatthew Lemon <y@yulqen.org>2023-12-17 16:32:09 +0000
commit86916794341f20b26b9a321f1e15f9521f94a618 (patch)
tree71c9dbdcabb4312d502f2411ea0e90ae1042fe5c /app/views/events/index.html.erb
parentc84b94a647fb4c068e8be9d0495ff7284f41f168 (diff)
Tidied up the basic event index and form
Diffstat (limited to '')
-rw-r--r--app/views/events/index.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/events/index.html.erb b/app/views/events/index.html.erb
index 654d317..16c656b 100644
--- a/app/views/events/index.html.erb
+++ b/app/views/events/index.html.erb
@@ -2,6 +2,8 @@
<h1>Events</h1>
+<%= render partial: "events/form", locals: { event: Event.new } %>
+
<%= link_to "New event", new_event_path %>
<table class="table table-success table-striped table-bordered mt-2">