Sha256: 55cb3e5ed37e292e1698e0af3103c9a9b69bbf844b6bcc880a26709f6bb23c56

Contents?: true

Size: 872 Bytes

Versions: 4

Compression:

Stored size: 872 Bytes

Contents

<%= content_tag(:td, (entity.population ? formatted_number(entity.population) : "-"), class: "text-end", data: {sort: entity.population.to_i}) %>
<%= content_tag(:td, density(entity.population_density), class: "text-end", data: {sort: entity.population_density.to_f}) %>
<%= content_tag(:td, (entity.housing_units ? formatted_number(entity.housing_units) : "-"), class: "text-end", data: {sort: entity.housing_units.to_i}) %>
<%= content_tag(:td, density(entity.housing_density), class: "text-end", data: {sort: entity.housing_density.to_f}) %>
<%= content_tag(:td, (entity.land_area ? formatted_number(entity.land_area, round: round_area) : "-"), class: "text-end", data: {sort: entity.land_area.to_i}) %>
<%= content_tag(:td, (entity.water_area ? formatted_number(entity.water_area, round: round_area) : "-"), class: "text-end", data: {sort: entity.water_area.to_i}) %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
us_geo-2.1.1 explorer_app/app/views/shared/_demographics_cells.html.erb
us_geo-2.1.0 explorer_app/app/views/shared/_demographics_cells.html.erb
us_geo-2.0.4 explorer_app/app/views/shared/_demographics_cells.html.erb
us_geo-2.0.3 explorer_app/app/views/shared/_demographics_cells.html.erb