summaryrefslogtreecommitdiff
path: root/app/views/menu_items/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/menu_items/index.html.erb')
-rw-r--r--app/views/menu_items/index.html.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/menu_items/index.html.erb b/app/views/menu_items/index.html.erb
index 591eb68d..cdc60c63 100644
--- a/app/views/menu_items/index.html.erb
+++ b/app/views/menu_items/index.html.erb
@@ -1,7 +1,7 @@
1<h1>Menu Items</h1> 1<h1><%= t(".title") %></h1>
2 2
3<%= link_to new_menu_item_path, class: 'action_button' do %> 3<%= link_to new_menu_item_path, class: 'action_button' do %>
4 <%= icon("plus", library: "tabler", "aria-hidden": true) %> Create menu item 4 <%= icon("plus", library: "tabler", "aria-hidden": true) %> <%= t(".create_item") %>
5<% end %> 5<% end %>
6 6
7<table id="menu_item_list"> 7<table id="menu_item_list">
@@ -11,11 +11,11 @@
11 <div></div> 11 <div></div>
12 </td> 12 </td>
13 <td class="menu_item_title"><%= menu_item.title %></td> 13 <td class="menu_item_title"><%= menu_item.title %></td>
14 <td><%= link_to "Edit", edit_menu_item_path(menu_item) %></td> 14 <td><%= link_to t("admin.common.edit"), edit_menu_item_path(menu_item) %></td>
15 <td> 15 <td>
16 <%= button_to menu_item_path(menu_item), method: :delete, 16 <%= button_to menu_item_path(menu_item), method: :delete,
17 form: { data: { confirm: "Do you really want to destroy the menu entry?" }, class: 'button_to destructive' } do %> 17 form: { data: { confirm: t(".confirm_destroy") }, class: 'button_to destructive' } do %>
18 <%= icon("trash", library: "tabler", "aria-hidden": true) %> Destroy 18 <%= icon("trash", library: "tabler", "aria-hidden": true) %> <%= t("admin.common.destroy") %>
19 <% end %> 19 <% end %>
20 </td> 20 </td>
21 </tr> 21 </tr>