Sha256: 9ee1488b1d9a8085f4a87fd46cb43053be2cd3cec9684094da6b9b2f62ba74e8

Contents?: true

Size: 830 Bytes

Versions: 9

Compression:

Stored size: 830 Bytes

Contents

- @page_title = t('kkt_shoppe.countries.countries')

= content_for :header do
  %p.buttons=link_to t('kkt_shoppe.countries.new_country') , :new_country, :class => 'button green'
  %h2.countries= t('kkt_shoppe.countries.countries')

.table
  %table.data
    %thead
      %tr
        %th= t('kkt_shoppe.countries.name')
        %th= t('kkt_shoppe.countries.iso_alpha_2')
        %th= t('kkt_shoppe.countries.iso_alpha_3')
        %th= t('kkt_shoppe.countries.continent')
        %th= t('kkt_shoppe.countries.tld')
        %th= t('kkt_shoppe.countries.eu?')
    %tbody
      - for country in @countries
        %tr
          %td= link_to country.name, [:edit, country]
          %td= country.code2
          %td= country.code3
          %td= country.continent
          %td= country.tld
          %td= boolean_tag country.eu_member?

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kkt_shoppe-2.0.2 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-2.0.1 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-2.0.0 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.3.0 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.2.1 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.2.0 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.1.2 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.1.1 app/views/kkt_shoppe/countries/index.html.haml
kkt_shoppe-1.1.0 app/views/kkt_shoppe/countries/index.html.haml