Sha256: afaf9a385b5ad05a7473bce5a7f219d35e9e430884ea1b5a4b3f6c343f897eae
Contents?: true
Size: 1015 Bytes
Versions: 1
Compression:
Stored size: 1015 Bytes
Contents
<% content_for :page_title do %> <%= Spree::ReimbursementType.model_name.human(count: :many) %> <% 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: Spree::ReimbursementType.model_name.human(count: :many)) %>, <%= link_to Spree.t(:add_one), new_object_url %>! </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-3.0.0.rc1 | app/views/spree/admin/reimbursement_types/index.html.erb |