UI change
This commit is contained in:
0
app/views/settings/menu_item_options/_form.html.erb
Normal file → Executable file
0
app/views/settings/menu_item_options/_form.html.erb
Normal file → Executable file
0
app/views/settings/menu_item_options/_settings_menu_item_option.json.jbuilder
Normal file → Executable file
0
app/views/settings/menu_item_options/_settings_menu_item_option.json.jbuilder
Normal file → Executable file
0
app/views/settings/menu_item_options/edit.html.erb
Normal file → Executable file
0
app/views/settings/menu_item_options/edit.html.erb
Normal file → Executable file
3
app/views/settings/menu_item_options/index.html.erb
Normal file → Executable file
3
app/views/settings/menu_item_options/index.html.erb
Normal file → Executable file
@@ -45,8 +45,7 @@
|
||||
<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 t("views.btn.edit"), edit_settings_menu_item_option_path(settings_menu_item_option),:class => 'btn btn-primary btn-sm waves-effect' %>
|
||||
<%= link_to t("views.btn.delete"), settings_menu_item_option_path(settings_menu_item_option), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %>
|
||||
<%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(settings_menu_item_option),:class => 'btn btn-primary btn-sm waves-effect' %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
||||
0
app/views/settings/menu_item_options/index.json.jbuilder
Normal file → Executable file
0
app/views/settings/menu_item_options/index.json.jbuilder
Normal file → Executable file
0
app/views/settings/menu_item_options/new.html.erb
Normal file → Executable file
0
app/views/settings/menu_item_options/new.html.erb
Normal file → Executable file
7
app/views/settings/menu_item_options/show.html.erb
Normal file → Executable file
7
app/views/settings/menu_item_options/show.html.erb
Normal file → Executable file
@@ -17,7 +17,7 @@
|
||||
<th>Name</th>
|
||||
<th>Value</th>
|
||||
<th>Created At</th>
|
||||
<th>Action</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -27,7 +27,10 @@
|
||||
<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>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(@settings_menu_item_option, @settings_menu_item_option) %></td>
|
||||
<td>
|
||||
<%= link_to t("views.btn.edit"), edit_settings_menu_item_option_path(@settings_menu_item_option, @settings_menu_item_option) %>
|
||||
<%= link_to t("views.btn.delete"), settings_menu_item_option_path(@settings_menu_item_option), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-sm waves-effect' %>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
0
app/views/settings/menu_item_options/show.json.jbuilder
Normal file → Executable file
0
app/views/settings/menu_item_options/show.json.jbuilder
Normal file → Executable file
Reference in New Issue
Block a user