Sha256: 5af129d1330cf390d3db33c556a263df2365d1552683478d2096b5a2a106a311

Contents?: true

Size: 606 Bytes

Versions: 6

Compression:

Stored size: 606 Bytes

Contents

- @page_title = "Countries"

= content_for :header do
  %p.buttons=link_to "New country", :new_country, :class => 'button green'
  %h2.countries Countries

.table
  %table.data
    %thead
      %tr
        %th Name
        %th ISO 3166-1-alpha-2
        %th ISO 3166-1-alpha-3
        %th Continent
        %th TLD
        %th 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

6 entries across 6 versions & 1 rubygems

Version Path
shoppe-1.0.2 app/views/shoppe/countries/index.html.haml
shoppe-1.0.1 app/views/shoppe/countries/index.html.haml
shoppe-1.0.0 app/views/shoppe/countries/index.html.haml
shoppe-0.0.21 app/views/shoppe/countries/index.html.haml
shoppe-0.0.20 app/views/shoppe/countries/index.html.haml
shoppe-0.0.19 app/views/shoppe/countries/index.html.haml