diff options
Diffstat (limited to 'app/views/events/edit.html.erb')
| -rw-r--r-- | app/views/events/edit.html.erb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/events/edit.html.erb b/app/views/events/edit.html.erb new file mode 100644 index 00000000..244f35f2 --- /dev/null +++ b/app/views/events/edit.html.erb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | <h1>Editing event</h1> | ||
| 2 | |||
| 3 | <% form_for(@event) do |f| %> | ||
| 4 | <%= f.error_messages %> | ||
| 5 | |||
| 6 | <p> | ||
| 7 | <%= f.label :serialized_event %><br /> | ||
| 8 | <%= f.text_area :serialized_event %> | ||
| 9 | </p> | ||
| 10 | <p> | ||
| 11 | <%= f.submit "Update" %> | ||
| 12 | </p> | ||
| 13 | <% end %> | ||
| 14 | |||
| 15 | <%= link_to 'Show', @event %> | | ||
| 16 | <%= link_to 'Back', events_path %> | ||
