Sha256: ffb06f3c147cf83d20ba87f9fcd6cd625ed3a77db9779493b5f85079f0519c1e
Contents?: true
Size: 1.21 KB
Versions: 7
Compression:
Stored size: 1.21 KB
Contents
<%= title t("payment_type", scope: "activerecord.models.mechanize_store").pluralize %> <% content_for :right do -%> <li class="active"> <%= link_to t("new_payment_type"), new_payment_type_path %> </li> <% end -%> <table class="table table-striped"> <thead> <tr> <th><%= sort_link @search, :id, t(:id, scope: "activerecord.attributes") %></th> <th><%= sort_link @search, :name, t(:name, scope: "activerecord.attributes.mechanize_store/payment_type") %></th> <th colspan="3"></th> </tr> </thead> <tbody> <% @payment_types.each do |payment_type| %> <tr> <td><%= payment_type.id %></td> <td><%= payment_type.name %></td> <td> <%= link_to payment_type do %> <i class="fa fa-file"></i> <% end -%> </td> <td> <%= link_to edit_payment_type_path(payment_type) do %> <i class="fa fa-edit"></i> <% end -%> </td> <td> <%= link_to payment_type, method: :delete, data: { confirm: t(:are_you_sure) } do %> <i class="fa fa-trash"></i> <% end -%> </td> </tr> <% end %> </tbody> </table> <br> <%= will_paginate @payment_types %>
Version data entries
7 entries across 7 versions & 2 rubygems