add fields for Menu Sync
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<%= f.error_notification %>
|
||||
|
||||
<div class="form-inputs">
|
||||
<%= f.input :option_type %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :value %>
|
||||
|
||||
|
||||
@@ -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) %>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>Created At</th>
|
||||
@@ -22,6 +23,7 @@
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><%= @settings_menu_item_option.option_type %></td>
|
||||
<td><%= @settings_menu_item_option.name %></td>
|
||||
<td><%= @settings_menu_item_option.value rescue "-" %></td>
|
||||
<td><%=l @settings_menu_item_option.created_at, format: :short %></td>
|
||||
|
||||
Reference in New Issue
Block a user