Sha256: 591bc82fc883a2c7d73768b1a66fd8541487861bc4120d5677f275c6c1cc6b05

Contents?: true

Size: 745 Bytes

Versions: 3

Compression:

Stored size: 745 Bytes

Contents

<%= content_tag(:td, (entity.population ? formatted_number(entity.population) : "-"), class: "text-end", data: {sort: entity.population.to_i}) %>
<%= content_tag(:td, population_density(entity), 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, (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

3 entries across 3 versions & 1 rubygems

Version Path
us_geo-2.0.2 explorer_app/app/views/shared/_demographics_cells.html.erb
us_geo-2.0.1 explorer_app/app/views/shared/_demographics_cells.html.erb
us_geo-2.0.0 explorer_app/app/views/shared/_demographics_cells.html.erb