diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 17:29:35 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-25 17:29:35 +0200 |
| commit | 22c690749e154a5426c4f190fbbc08a5dee2eeee (patch) | |
| tree | 4c3b9f7d1b79d5862a9729c45b7e31035f81957a /app/views/occurrences/new.html.erb | |
| parent | b7dee77cd1dd6f70e3bfa55df8b61681e9db321e (diff) | |
Retire the unroutable occurrences scaffolding
Diffstat (limited to 'app/views/occurrences/new.html.erb')
| -rw-r--r-- | app/views/occurrences/new.html.erb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/app/views/occurrences/new.html.erb b/app/views/occurrences/new.html.erb deleted file mode 100644 index c05ce400..00000000 --- a/app/views/occurrences/new.html.erb +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | <h1>New occurrence</h1> | ||
| 2 | |||
| 3 | <%= form_for(@occurrence) do |f| %> | ||
| 4 | <%= form_error_messages(f) %> | ||
| 5 | |||
| 6 | <p> | ||
| 7 | <%= f.label :summary %><br /> | ||
| 8 | <%= f.text_field :summary %> | ||
| 9 | </p> | ||
| 10 | <p> | ||
| 11 | <%= f.label :start_time %><br /> | ||
| 12 | <%= f.datetime_select :start_time %> | ||
| 13 | </p> | ||
| 14 | <p> | ||
| 15 | <%= f.label :end_time %><br /> | ||
| 16 | <%= f.datetime_select :end_time %> | ||
| 17 | </p> | ||
| 18 | <p> | ||
| 19 | <%= f.label :node_id %><br /> | ||
| 20 | <%= f.text_field :node_id %> | ||
| 21 | </p> | ||
| 22 | <p> | ||
| 23 | <%= f.label :event_id %><br /> | ||
| 24 | <%= f.text_field :event_id %> | ||
| 25 | </p> | ||
| 26 | <p> | ||
| 27 | <%= f.submit 'Create' %> | ||
| 28 | </p> | ||
| 29 | <% end %> | ||
| 30 | |||
| 31 | <%= link_to 'Back', occurrences_path %> | ||
