Sha256: 180fec133bd1fa43a6945b1407daf6f896a4c10a8386f1acd62b3588a55316ab

Contents?: true

Size: 794 Bytes

Versions: 4

Compression:

Stored size: 794 Bytes

Contents

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

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

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

4 entries across 4 versions & 1 rubygems

Version Path
tienda-1.1.2 app/views/tienda/countries/index.html.haml
tienda-1.1.1 app/views/tienda/countries/index.html.haml
tienda-1.1.0 app/views/tienda/countries/index.html.haml
tienda-1.0.0 app/views/tienda/countries/index.html.haml