Sha256: 72efeaefedae9a0ea16ddd456464acf3b8db5b8a8864a370659f845b8cdcb672
Contents?: true
Size: 1.72 KB
Versions: 5
Compression:
Stored size: 1.72 KB
Contents
<div class="panel panel-default"> <div class="panel-heading"> <h4><span class="fa fa-credit-card"></span> <%= t('plugins.ecommerce.payment_methods') %></h4> <%= link_to raw("<i class='fa fa-plus'></i> #{t('plugins.ecommerce.add_payment_method')}"), {action: :new}, class: "btn btn-primary pull-right" %> </div> <div class="panel-body"> <table class="table"> <thead> <tr> <th><%= t('plugins.ecommerce.table.name') %></th> <th><%= t('plugins.ecommerce.table.method_type') %></th> <th><%= t('plugins.ecommerce.table.status') %></th> <th><%= t('plugins.ecommerce.table.description') %></th> <th><%= t('plugins.ecommerce.table.actions') %></th> </tr> </thead> <tbody> <% @payment_methods.each do |row| row = row.decorate %> <tr> <td><%= row.name %></td> <td><%= row.method_text %></td> <td><%= raw row.the_status %></td> <td><%= row.description.translate %></td> <td> <%= link_to raw('<i class="fa fa-eye"></i>'), {action: :show, id: row.id}, class: "btn btn-info btn-xs", title: "#{t('camaleon_cms.admin.button.preview')}" %> <%= 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 @payment_methods.empty? %> <%= will_paginate @payment_methods, renderer: BootstrapPagination::Rails %> </div> </div>
Version data entries
5 entries across 5 versions & 1 rubygems