Sha256: 7c088d087ca71aebe238663a49cd4624432769a89fc8ceb7fa715c4afeb7890b
Contents?: true
Size: 1.22 KB
Versions: 6
Compression:
Stored size: 1.22 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 => 'icon-plus', 'data-update' => 'new_property', :id => 'new_property_link' } %> </li> <% end %> <%= render :partial => 'spree/admin/shared/product_sub_menu' %> <div id="new_property"></div> <table class="index" id='listing_properties' data-hook> <colgroup> <col style="width: 45%"> <col style="width: 45%"> <col style="width: 10%"> </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><%= property.name %></td> <td><%= 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>
Version data entries
6 entries across 6 versions & 1 rubygems