Sha256: ea501de3f910c77d67356b40cb3f29170761cf2ee674f1eabc746bf7c0d6694c

Contents?: true

Size: 1.16 KB

Versions: 7

Compression:

Stored size: 1.16 KB

Contents

<%= render :partial => 'spree/admin/shared/product_sub_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_property_link">
      <%= button_link_to t(:new_property), new_admin_property_url, { :remote => true, :icon => 'add', 'data-update' => 'new_property', :id => 'new_property_link' } %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t(:properties) %></h1>

<div id="new_property"></div>

<%= image_tag 'spinner.gif', :plugin => 'spree', :style => 'display:none;', :id => 'busy_indicator' %>

<table class="index" id='listing_properties' data-hook>
  <thead>
    <tr data-hook="listing_properties_header">
      <th><%= t(:name) %></th>
      <th><%= t(:presentation) %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @properties.each do |property| %>
      <tr id="<%= spree_dom_id property %>" data-hook="listing_properties_row">
        <td><%= property.name %></td>
        <td><%= property.presentation %></td>
        <td class="actions">
          <%= link_to_edit(property, :class => 'edit') %>
          &nbsp;
          <%= link_to_delete(property) %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
spree_core-1.2.5 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.4 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.3 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.2 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.0 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.0.rc2 app/views/spree/admin/properties/index.html.erb
spree_core-1.2.0.rc1 app/views/spree/admin/properties/index.html.erb