aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/events/edit.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/edit.html.erb')
-rw-r--r--app/views/events/edit.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/events/edit.html.erb b/app/views/events/edit.html.erb
new file mode 100644
index 0000000..e398927
--- /dev/null
+++ b/app/views/events/edit.html.erb
@@ -0,0 +1,10 @@
+<h1>Editing event</h1>
+
+<%= render "form", event: @event %>
+
+<br>
+
+<div>
+ <%= link_to "Show this event", @event %> |
+ <%= link_to "Back to events", events_path %>
+</div>