Sha256: c71601bbffa880b5f8263227e5fddfc605e34fff079fcd7365b667da368184a4

Contents?: true

Size: 705 Bytes

Versions: 7

Compression:

Stored size: 705 Bytes

Contents

<%= breadcrumbs "Urban Areas" %>

<ul class="nav nav-tabs">
  <li class="nav-item">
    <%= link_to "All", urban_areas_path(breadcrumb_params.merge(tab: nil)), class: "nav-link #{'active' if @tab.blank?}" %>
  </li>
  <li class="nav-item">
    <%= link_to "Urbanized Areas", urban_areas_path(breadcrumb_params.merge(tab: "urbanized")), class: "nav-link #{'active' if @tab == 'metropolitan'}" %>
  </li>
  <li class="nav-item">
    <%= link_to "Urban Cluster", urban_areas_path(breadcrumb_params.merge(tab: "cluster")), class: "nav-link #{'active' if @tab == 'micropolitan'}" %>
  </li>
</ul>

<h1>
  <%= pluralize @urban_areas.size, "Urban Area" %>
</h1>

<%= render "table", urban_areas: @urban_areas %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
us_geo-2.1.1 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.1.0 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.0.4 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.0.3 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.0.2 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.0.1 explorer_app/app/views/urban_areas/index.html.erb
us_geo-2.0.0 explorer_app/app/views/urban_areas/index.html.erb