Sha256: a6c49b1bc248ec102416f7e625d36a17894c6e72eb64094d424dcfd57d5f0f3d

Contents?: true

Size: 794 Bytes

Versions: 11

Compression:

Stored size: 794 Bytes

Contents

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

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

.table
  %table.data
    %thead
      %tr
        %th= t('shoppe.countries.name')
        %th= t('shoppe.countries.iso_alpha_2')
        %th= t('shoppe.countries.iso_alpha_3')
        %th= t('shoppe.countries.continent')
        %th= t('shoppe.countries.tld')
        %th= t('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

11 entries across 11 versions & 3 rubygems

Version Path
shoppe-1.1.2 app/views/shoppe/countries/index.html.haml
shoppe-1.1.1 app/views/shoppe/countries/index.html.haml
shoppe-1.1.0 app/views/shoppe/countries/index.html.haml
shoppe-1.0.9 app/views/shoppe/countries/index.html.haml
shoppe-1.0.8 app/views/shoppe/countries/index.html.haml
kylekthompson-shoppe-1.0.7 app/views/shoppe/countries/index.html.haml
shoppe-1.0.7 app/views/shoppe/countries/index.html.haml
shoppe-1.0.6 app/views/shoppe/countries/index.html.haml
shoppe-paypal-1.1.0 vendor/bundle/ruby/2.1.0/gems/shoppe-1.0.5/app/views/shoppe/countries/index.html.haml
shoppe-1.0.5 app/views/shoppe/countries/index.html.haml
shoppe-1.0.3 app/views/shoppe/countries/index.html.haml