add fields for Menu Sync

This commit is contained in:
Yan
2017-08-18 11:24:38 +06:30
parent 3160aab399
commit 48461da9ea
11 changed files with 21 additions and 20 deletions

View File

@@ -13,6 +13,7 @@
<table class="table table-striped">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Value</th>
</tr>
@@ -21,6 +22,7 @@
<tbody>
<% @settings_menu_item_options.each do |settings_menu_item_option| %>
<tr>
<td><%= settings_menu_item_option.option_type %></td>
<td><%= link_to settings_menu_item_option.name, settings_menu_item_option_path(settings_menu_item_option) %></td>
<td><%= settings_menu_item_option.value %></td>
<td><%= link_to 'Edit', edit_settings_menu_item_option_path(settings_menu_item_option) %>