Sha256: 7457ad29c956f917cdd86c9bf573644806825529be5f042471861d0784272089

Contents?: true

Size: 855 Bytes

Versions: 6

Compression:

Stored size: 855 Bytes

Contents

- render_region :foot do |foot|
  - foot.buttons do
    %p.buttons
      = save_model_button(@shop_product)
      = save_model_and_continue_editing_button(@shop_product)
      = t('or')
      = link_to t('cancel'), admin_shop_products_path
  - foot.timestamp do
    = updated_stamp @shop_product

- unless @shop_product.new_record?
  :javascript
    if(typeof(ROUTES) === 'undefined') ROUTES = new Array();
  
    ROUTES['admin_shop_product_images_path']        = "#{admin_shop_product_images_path(@shop_product)}";
    ROUTES['sort_admin_shop_product_images_path']   = "#{sort_admin_shop_product_images_path(@shop_product)}";
  
    ROUTES['admin_shop_product_image_path']         = "#{admin_shop_product_image_path(@shop_product, ':id')}";
    ROUTES['admin_shop_product_variant_path']       = "#{admin_shop_product_variant_path(@shop_product, ':id')}";

Version data entries

6 entries across 6 versions & 1 rubygems

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