Sha256: ef1e0fd73e2f77c1a5162e80ce1ace7f443c2c4fcb7018768d4b679e6d1d89ff
Contents?: true
Size: 1.54 KB
Versions: 1
Compression:
Stored size: 1.54 KB
Contents
<% content_for :page_title do %> <%= Spree.t(:properties) %> <% end %> <% content_for :page_actions do %> <li id="new_property_link"> <%= button_link_to Spree.t(:new_property), new_admin_property_url, { :remote => true, :icon => 'plus', 'data-update' => 'new_property', :id => 'new_property_link' } %> </li> <% end %> <%= render 'spree/admin/shared/product_sub_menu' %> <div id="new_property"></div> <% if @properties.any? %> <table class="index" id='listing_properties' data-hook> <colgroup> <col style="width: 40%"> <col style="width: 45%"> <col style="width: 15%"> </colgroup> <thead> <tr data-hook="listing_properties_header"> <th><%= Spree.t(:name) %></th> <th><%= Spree.t(:presentation) %></th> <th class="actions"></th> </tr> </thead> <tbody> <% @properties.each do |property| %> <tr id="<%= spree_dom_id property %>" data-hook="listing_properties_row" class="<%= cycle('odd', 'even')%>"> <td style="padding-left:1em"><%= property.name %></td> <td style="padding-left:1em"><%= property.presentation %></td> <td class="actions"> <%= link_to_edit(property, :no_text => true) %> <%= link_to_delete(property, :no_text => true) %> </td> </tr> <% end %> </tbody> </table> <% else %> <div class="alpha twelve columns no-objects-found"> <%= Spree.t(:no_resource_found, resource: I18n.t(:other, scope: 'activerecord.models.spree/property')) %>, <%= link_to Spree.t(:add_one), spree.new_admin_property_path %>! </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-2.2.2 | app/views/spree/admin/properties/index.html.erb |