summaryrefslogtreecommitdiff
path: root/app/views/menu_items/index.html.erb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-27 22:52:50 +0200
commit9a19a0494ef51cdac9a78e24d517ca48ba44c453 (patch)
tree8eaae12d8047a40e29d3ea7ff3116b5c869e04bd /app/views/menu_items/index.html.erb
parent85a01e35274b8d4d4165a7b26bd7986e211246bb (diff)
parent1853082fcd8c067390c246f9daa01a9b47387497 (diff)
Migration from Rails 2.3.5 to Rails 8.1 successful.
Merging dev branch.
Diffstat (limited to 'app/views/menu_items/index.html.erb')
-rw-r--r--app/views/menu_items/index.html.erb11
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb
index 123a07a..c52c150 100644
--- a/app/views/menu_items/index.html.erb
+++ b/app/views/menu_items/index.html.erb
@@ -14,13 +14,10 @@
14 <td class="menu_item_title"><%= menu_item.title %></td> 14 <td class="menu_item_title"><%= menu_item.title %></td>
15 <td><%= link_to "Edit", edit_menu_item_path(menu_item) %></td> 15 <td><%= link_to "Edit", edit_menu_item_path(menu_item) %></td>
16 <td> 16 <td>
17 <%= link_to( 17 <%= button_to "Delete", menu_item_path(menu_item),
18 "Delete", 18 method: :delete,
19 menu_item_path(menu_item), 19 form: { data: { confirm: "Are you sure?" } } %>
20 :method => :delete,
21 :confirm => "Are you sure?"
22 ) %>
23 </td> 20 </td>
24 </tr> 21 </tr>
25 <% end %> 22 <% end %>
26</table> \ No newline at end of file 23</table>