Sha256: dea6a7c881ad1efa85063295b053c140733a99ac1d12b1beb335d9b83e3f2489
Contents?: true
Size: 689 Bytes
Versions: 5
Compression:
Stored size: 689 Bytes
Contents
= haml "products/menu".to_sym %h1 Remote Products %h2 of supplier #{settings.supplier.name} (#{@products.count}) %table.pure-table %thead %tr %th Product Name %th Product ID %th Local Name %th Supplier %tbody - @products.find_each do |product| %tr %td %a(href="/remote_product/#{product.id}")= product.name %td= product.product_id %td - if product.local_product.nil? -#%a(href="/product/#{product.id}/link") Link to ... Not linked - else = local_product_link product.local_product %td= product.supplier.try(:name)
Version data entries
5 entries across 5 versions & 1 rubygems