From c84b94a647fb4c068e8be9d0495ff7284f41f168 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 17 Dec 2023 14:26:17 +0000 Subject: Initial --- app/views/events/show.html.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/views/events/show.html.erb (limited to 'app/views/events/show.html.erb') diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb new file mode 100644 index 0000000..f8276e2 --- /dev/null +++ b/app/views/events/show.html.erb @@ -0,0 +1,10 @@ +

<%= notice %>

+ +<%= render @event %> + +
+ <%= link_to "Edit this event", edit_event_path(@event) %> | + <%= link_to "Back to events", events_path %> + + <%= button_to "Destroy this event", @event, method: :delete %> +
-- cgit v1.2.3