Sha256: fbf5d4e96c23d8a65d41493ad450714d9125efa18fa1fa24a3fd7949043b2152

Contents?: true

Size: 743 Bytes

Versions: 6

Compression:

Stored size: 743 Bytes

Contents

%li.product.object{:id => "product_#{product.id}", :'data-id' => product.id}
  .attributes
    - render_region :product do |body|
      - body.move do
        %span.move.attribute
      - body.icon do
        - link_to [:edit_admin, product], :class => 'icon' do
          - unless product.attachments.empty?
            = image_tag product.attachments.first.image.url(:preview)
      - body.name do
        %span.name.attribute
          - link_to [:edit_admin, product] do
            = number_to_currency(product.price)
            = product.name
      - body.sku do
        %span.sku.attribute
          = product.sku
      - body.modify do
        .modify
          %span.remove
            = link_to t('remove'), [:remove_admin, product]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
radiant-shop-extension-0.11.6 app/views/admin/shop/products/index/_product.html.haml
radiant-shop-extension-0.11.5 app/views/admin/shop/products/index/_product.html.haml
radiant-shop-extension-0.11.4 app/views/admin/shop/products/index/_product.html.haml
radiant-shop-extension-0.11.3 app/views/admin/shop/products/index/_product.html.haml
radiant-shop-extension-0.11.1 app/views/admin/shop/products/index/_product.html.haml
radiant-shop-extension-0.11.0 app/views/admin/shop/products/index/_product.html.haml