Sha256: a5ddd4bc5a611d750b85bfa82093b0b68ca922a7dadeb68aa13f3764d2191ad1
Contents?: true
Size: 1.02 KB
Versions: 9
Compression:
Stored size: 1.02 KB
Contents
- @page_title = "#{t('kkt_shoppe.localisations.localisations')} - #{@product.name}" = content_for :header do %p.buttons = link_to t('kkt_shoppe.localisations.back'), [:edit, @product], :class => 'button' = link_to t('kkt_shoppe.localisations.new_localisation'), [:new, @product, :localisation], :class => 'button green' %h2.products= t('kkt_shoppe.localisations.localisations_of', name: @product.name) .table %table.data %thead %tr %th{:width => '20%'}= t('kkt_shoppe.localisations.language') %th{:width => '50%'}= t('kkt_shoppe.products.name') %th{:width => '15%'}= t('kkt_shoppe.products.permalink') %tbody - if @localisations.empty? %tr.empty %td{:colspan => 4}= t('kkt_shoppe.localisations.no_localisations') - else - for localisation in @localisations %tr %td= localisation.locale %td= link_to localisation.name, edit_product_localisation_path(@product, localisation) %td= localisation.permalink
Version data entries
9 entries across 9 versions & 1 rubygems