diff options
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 %> | ||
