Sha256: 21c86a5ee9432aa83bf79874b32c4b68d35f0729b697029e7b546f56d08c3992
Contents?: true
Size: 942 Bytes
Versions: 35
Compression:
Stored size: 942 Bytes
Contents
<% content_for :page_title do %> <%= plural_resource_name(Spree::ReimbursementType) %> <% end %> <% if @reimbursement_types.any? %> <table class="table" id='listing_reimbursement_types' data-hook> <thead> <tr data-hook="reimbursement_types_header"> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:type) %></th> </tr> </thead> <tbody> <% @reimbursement_types.each do |reimbursement_type| %> <tr id="<%= spree_dom_id reimbursement_type %>" data-hook="reimbursement_type_row"> <td class="align-center"> <%= reimbursement_type.name.humanize %> </td> <td> <%= reimbursement_type.type %> </td> </tr> <% end %> </tbody> </table> <% else %> <div class="alert alert-info no-objects-found"> <%= Spree.t(:no_resource_found, resource: plural_resource_name(Spree::ReimbursementType)) %> </div> <% end %>
Version data entries
35 entries across 35 versions & 2 rubygems