Sha256: e70c1f430ab094cc63a13be4ad64311f639963e0fc0eaa99c1ef877779c23882
Contents?: true
Size: 1.74 KB
Versions: 2
Compression:
Stored size: 1.74 KB
Contents
<script type='text/template' id='product_template'> <li id="product_{{ product.id }}" data-classification-id='{{ classification.id }}' data-product-id='{{ product.id }}' class="product p-2 col-6 col-md-3 col-lg-2"> <div class="m-1 p-2 card bg-light"> <nav class="navbar navbar-light bg-light justify-content-between px-0 pt-0" style="background-color:transparent !important;"> <a class=" sort-handle js-sort-handle"> <%= svg_icon name: "move.svg", width: '22', height: '22' %> </a> <div class="dropdown "> <button class="btn btn-outline-secondary dropdown-toggle products-ddb btn-sm" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <%= svg_icon name: "chevron-down.svg", width: '18', height: '18' %> </button> <div class="dropdown-menu dropdown-menu-right p-0 mt-1" aria-labelledby="dropdownMenuButton"> <a href="{{ edit_product_url product.id }}" class="edit-product js-edit-product dropdown-item p-1"><%= Spree.t(:edit) %></a> <a href="javascript:;" class="delete-product js-delete-product dropdown-item p-1"><%= Spree.t(:remove) %></a> </div> </div> </nav> <div class='image'> {{#if image }} <img src='{{image}}' alt='{{ product.attributes.name }}' class='thumbnail rounded border border' /> {{ else }} <img src='<%= image_path("noimage/small.png") %>' alt='{{product.name }}' class='thumbnail' /> {{/if}} </div> <div class="p-0 pt-1 text-center product-info"> <p class="name card-text">{{ product.attributes.name }}</p> <p class="price card-text">{{ product.attributes.display_price }}</p> </div> </div> </li> </script>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spree_backend-4.3.0.rc2 | app/views/spree/admin/products/_autocomplete.js.erb |
spree_backend-4.3.0.rc1 | app/views/spree/admin/products/_autocomplete.js.erb |