Sha256: feeaca50935a2574439a47a7be0e3ff5dde6674a6c8fdadb546d805cc53a039c
Contents?: true
Size: 1.24 KB
Versions: 2
Compression:
Stored size: 1.24 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.activate_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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
comable_backend-0.4.0 | app/views/comable/admin/shipment_methods/index.slim |
comable_backend-0.3.4 | app/views/comable/admin/shipment_methods/index.slim |