summaryrefslogtreecommitdiff
path: root/app/views/occurrences/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/occurrences/index.html.erb')
-rw-r--r--app/views/occurrences/index.html.erb30
1 files changed, 0 insertions, 30 deletions
diff --git a/app/views/occurrences/index.html.erb b/app/views/occurrences/index.html.erb
deleted file mode 100644
index aa084ed9..00000000
--- a/app/views/occurrences/index.html.erb
+++ /dev/null
@@ -1,30 +0,0 @@
1<h1>Occurrences</h1>
2
3<table>
4 <tr>
5 <th>Summary</th>
6 <th>Start time</th>
7 <th>End time</th>
8 <th>Node</th>
9 <th>Event</th>
10 </tr>
11
12<% @occurrences.each do |occurrence| %>
13 <tr>
14 <td><%=h occurrence.summary %></td>
15 <td><%=h occurrence.start_time %></td>
16 <td><%=h occurrence.end_time %></td>
17 <td><%=h occurrence.node_id %></td>
18 <td><%=h occurrence.event_id %></td>
19 <td><%= link_to 'Show', occurrence %></td>
20 <td><%= link_to 'Edit', edit_occurrence_path(occurrence) %></td>
21 <td><%= button_to occurrence, method: :delete, form: { data: { confirm: 'Are you sure?' }, class: 'button_to destructive' } do %>
22 <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy
23 <% end %></td>
24 </tr>
25<% end %>
26</table>
27
28<br />
29
30<%= link_to 'New occurrence', new_occurrence_path %>