diff options
author | Matthew Lemon <y@yulqen.org> | 2023-12-17 14:26:17 +0000 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-12-17 14:26:17 +0000 |
commit | c84b94a647fb4c068e8be9d0495ff7284f41f168 (patch) | |
tree | d969c75c764436c0478234233597e38e1e29c2d5 /app/views/events/show.html.erb |
Initial
Diffstat (limited to 'app/views/events/show.html.erb')
-rw-r--r-- | app/views/events/show.html.erb | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ +<p style="color: green"><%= notice %></p> + +<%= render @event %> + +<div> + <%= link_to "Edit this event", edit_event_path(@event) %> | + <%= link_to "Back to events", events_path %> + + <%= button_to "Destroy this event", @event, method: :delete %> +</div> |