diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-13 23:33:11 +0200 |
| commit | 8eab68f2c5a3c126e2fec2ecdfa7ace87ce0937b (patch) | |
| tree | f446ebc26a7707c7b64a937aa51a155df146c80a /app/views/occurrences/index.html.erb | |
| parent | 42714c697273a7117c6b355fab26c8c35e336ad1 (diff) | |
| parent | cdf5d9941ca866d437612d2f863eac6eb0b3db12 (diff) | |
Merge branch 'erdgeist-revive-events'
Diffstat (limited to 'app/views/occurrences/index.html.erb')
| -rw-r--r-- | app/views/occurrences/index.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/occurrences/index.html.erb b/app/views/occurrences/index.html.erb index 0e998572..aa084ed9 100644 --- a/app/views/occurrences/index.html.erb +++ b/app/views/occurrences/index.html.erb | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | <h1>Listing occurrences</h1> | 1 | <h1>Occurrences</h1> |
| 2 | 2 | ||
| 3 | <table> | 3 | <table> |
| 4 | <tr> | 4 | <tr> |
| @@ -18,7 +18,9 @@ | |||
| 18 | <td><%=h occurrence.event_id %></td> | 18 | <td><%=h occurrence.event_id %></td> |
| 19 | <td><%= link_to 'Show', occurrence %></td> | 19 | <td><%= link_to 'Show', occurrence %></td> |
| 20 | <td><%= link_to 'Edit', edit_occurrence_path(occurrence) %></td> | 20 | <td><%= link_to 'Edit', edit_occurrence_path(occurrence) %></td> |
| 21 | <td><%= button_to 'Destroy', occurrence, method: :delete, form: { data: { confirm: 'Are you sure?' } } %></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> | ||
| 22 | </tr> | 24 | </tr> |
| 23 | <% end %> | 25 | <% end %> |
| 24 | </table> | 26 | </table> |
