diff options
Diffstat (limited to 'app/views/events/index.html.erb')
-rw-r--r-- | app/views/events/index.html.erb | 2 |
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"> |