Sha256: eb40c7c9537c8ab8d20b1e7df7e3eb38c0dcef07a74079e6361175d0225af6c2

Contents?: true

Size: 1.21 KB

Versions: 57

Compression:

Stored size: 1.21 KB

Contents

<script type='text/template' id='product_template'>
  <li id='product_{{ product.id }}' data-product-id='{{ product.id }}' data-taxons="{{ product.taxon_ids }}" class='product'>
    <a class="sort-handle js-sort-handle"><span class="icon icon-move"></span></a>
    <div class="btn-group">
      <button type="button" class="btn btn-primary btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
        <span class="caret"></span>
      </button>
      <ul class="dropdown-menu" role="menu" data-hook="taxon_product_dropdown">
        <li><a href="javascript:;" class="edit-product js-edit-product"><%= Spree.t(:edit) %></a></li>
        <li><a href="javascript:;" class="delete-product js-delete-product"><%= Spree.t(:delete_from_taxon) %></a></li>
      </ul>
    </div>
    <div class='image'>
      {{#if product.image }}
        <img src='{{product.image}}' alt='{{ product.name }}' class='thumbnail' />
      {{ else }}
        <img src='<%= image_path("noimage/small.png") %>' alt='{{product.name }}' class='thumbnail' />
      {{/if}}
    </div>
    <div class="product-info">
      <div class="name">{{ product.name }}</div>
      <div class="price">{{ product.display_price }}</div>
    </div>
  </li>
</script>

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
spree_backend-3.2.9 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.14 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.6 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.2.8 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.13 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.5 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.4 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.2.7 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.12 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.3 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.2.6 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.11 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.10 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.2 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.2.5 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.9 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.1 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.2.4 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.1.8 app/views/spree/admin/products/_autocomplete.js.erb
spree_backend-3.3.0 app/views/spree/admin/products/_autocomplete.js.erb