Sha256: c925a17f11ac71834e40b02f7602ffdca6308e32bd39ac9ed302b8a1c199da40

Contents?: true

Size: 842 Bytes

Versions: 1

Compression:

Stored size: 842 Bytes

Contents

.container
  .row
    .page-header
      %h1.title Cities
      =# render "shared/filter"
      = link_to "New City", new_city_path
  .row
    .content
      %table.table
        %thead
          %tr
            %th Nome
            %th Region
            %th Nation
            %th Population
            %th
        %tbody
          - for city in @cities
            %tr
              %td
                = city.name
                = link_to city.slug , city
              %td= city.region.name if city.region
              %td= city.nation.name
              %td= city.souls
              %td{:align => 'right'}
                = link_to 'Edit', edit_city_path(city)
                = link_to 'Destroy', city, :confirm => 'Destroy city?', :method => :delete

  .row
    .pagination= paginate @cities
  .row
    = link_to 'Back', root_path

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
geopolitical-0.8.0 app/views/geopolitical/cities/index.html.haml