Sha256: 86bfa09a914835a358c2fae66c7fc0676c2e814c98e8369f26aa0b1ad88745c8

Contents?: true

Size: 785 Bytes

Versions: 5

Compression:

Stored size: 785 Bytes

Contents

= haml "products/menu".to_sym

%h1 Link "#{@product.name}" to ...

:javascript
  $(function() {
    $( "#tabs" ).tabs();
  });

#tabs
  %ul
    - if !@product.link_suggestions.empty?
      %li
        %a(href="#tab_suggestions") Suggestions
    %li
      %a(href="#tab_unlinked") Unlinked
    %li
      %a(href="#tab_linked") Linked
  - if !@product.link_suggestions.empty?
    #tab_suggestions
      %h2 Suggestions
      = haml "products/_link_table".to_sym, locals: {products: @product.link_suggestions }
  #tab_unlinked
    %h2 Unlinked Remote Products
    = haml "products/_link_table".to_sym, locals: {products: @remote_products.unlinked}
  #tab_linked
    %h2 Already Linked Remote Products
    = haml "products/_link_table".to_sym, locals: {products: @remote_products.linked}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rawbotz-0.2.0 lib/rawbotz/views/product/link_to.haml
rawbotz-0.1.5 lib/rawbotz/views/product/link_to.haml
rawbotz-0.1.4 lib/rawbotz/views/product/link_to.haml
rawbotz-0.1.3 lib/rawbotz/views/product/link_to.haml
rawbotz-0.1.2 lib/rawbotz/views/product/link_to.haml