Sha256: 8d5840a265dbc5551c0e5d9ef266027f06b67da1526af90ec5fa5debdcfb12ab
Contents?: true
Size: 1.25 KB
Versions: 8
Compression:
Stored size: 1.25 KB
Contents
.comable-page .comable-page-heading ul.pull-right.list-inline li = link_to Comable.t('admin.actions.new'), comable.new_admin_shipment_method_path, class: 'btn btn-default' h1.page-header = Comable.t('admin.nav.shipment_method') small< | #{@shipment_methods.total_count} #{Comable.t('admin.results')} .comable-page-body - if @shipment_methods.empty? = Comable.t('admin.not_found') - else table.table.table-striped thead th = @shipment_methods.klass.human_attribute_name(:name) th = @shipment_methods.klass.human_attribute_name(:fee) th = @shipment_methods.klass.human_attribute_name(:traking_url) tbody - @shipment_methods.each do |shipment_method| tr td = link_to shipment_method.name, comable.admin_shipment_method_path(shipment_method) - unless shipment_method.activated_flag span.fa.fa-eye-slash.text-muted< td = number_to_currency shipment_method.fee td = truncate shipment_method.traking_url .text-center = paginate @shipment_methods, theme: :comable_backend
Version data entries
8 entries across 8 versions & 2 rubygems