Sha256: 9e11535d8ed39a77130056a264e1c955ffb52ae8997f010824e5102fe33e1e81
Contents?: true
Size: 1.71 KB
Versions: 6
Compression:
Stored size: 1.71 KB
Contents
<div class="panel panel-default"> <div class="panel-heading"> <h4><span class="fa fa-tag"></span> <%= t('plugins.ecommerce.tax_rates') %></h4> <%= link_to raw("<i class='fa fa-plus'></i> #{t('plugins.ecommerce.add_tax_rate')}"), {action: :new}, class: "btn btn-primary pull-right" %> </div> <div class="panel-body"> <table class="table"> <thead> <tr> <th id=""><%= t('plugins.ecommerce.table.id') %></th> <th id=""><%= t('plugins.ecommerce.table.name') %></th> <th id=""><%= t('plugins.ecommerce.table.rate') %></th> <th id=""><%= t('plugins.ecommerce.table.status') %></th> <th><%= t('plugins.ecommerce.table.actions') %></th> </tr> </thead> <tbody> <% @tax_rates.each do |row| row = row.decorate options = row.options %> <tr> <td><%= row.id %></td> <td><%= row.name %></td> <td><%= options[:rate] %>%</td> <td><%= raw row.the_status %></td> <td> <%= link_to raw('<i class="fa fa-edit"></i>'), {action: :edit, id: row.id }, class: "btn btn-default btn-xs", title: "#{t('camaleon_cms.admin.button.edit')}" %> </td> </tr> <% end %> </tbody> </table> <%= content_tag("div", raw(t('camaleon_cms.admin.message.data_found_list')), class: "alert alert-warning") if @tax_rates.empty? %> <%= will_paginate @tax_rates, renderer: BootstrapPagination::Rails %> </div> </div>
Version data entries
6 entries across 6 versions & 1 rubygems