<%= t('plugin.ecommerce.table.code')%> |
<%= t('plugin.ecommerce.product.price')%> |
<%= t('plugin.ecommerce.table.min_weight') %> |
<%= t('plugin.ecommerce.table.max_weight') %> |
<%= t('plugin.ecommerce.table.actions') %> |
<%
@prices.each do |id, row|
%>
<%= row[:code] %> |
<%= current_site.current_unit %> <%= row[:price] %> |
<%= row[:min_weight] %> <%= current_site.current_weight %> |
<%= row[:max_weight] %> <%= current_site.current_weight %> |
<%= link_to raw(''), {action: :edit, id: row[:id] }, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %>
<%= link_to raw(''), {action: :destroy, id: row[:id] }, method: :delete, data: { confirm: t('camaleon_cms.admin.message.delete') }, class: "btn btn-danger btn-xs", title: "#{t('camaleon_cms.admin.button.delete')}" %>
|
<% end %>
<%= content_tag("div", raw(t('camaleon_cms.admin.message.data_found_list')), class: "alert alert-warning") if @prices.empty? %>