UI change
This commit is contained in:
6
app/views/settings/menu_item_attributes/show.html.erb
Normal file → Executable file
6
app/views/settings/menu_item_attributes/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>
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
<td><%= @settings_menu_item_attribute.name %></td>
|
||||
<td><%= @settings_menu_item_attribute.value rescue "-" %></td>
|
||||
<td><%=l @settings_menu_item_attribute.created_at, format: :short %></td>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_menu_item_attribute_path(@settings_menu_item_attribute, @settings_menu_item_attribute) %></td>
|
||||
<td><%= link_to t("views.btn.edit"), edit_settings_menu_item_attribute_path(@settings_menu_item_attribute, @settings_menu_item_attribute) %>
|
||||
<%= link_to t("views.btn.delete"), settings_menu_item_attribute_path(@settings_menu_item_attribute, @settings_menu_item_attribute ), method: :delete, data: { confirm: 'Are you sure?' },:class => 'btn btn-danger btn-lg waves-effect' %>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user