summaryrefslogtreecommitdiff
path: root/templates/community.md.erb
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 17:59:41 -0600
committermo khan <mo@mokhan.ca>2024-05-24 17:59:41 -0600
commit97cd241fb23a3803b970e6d4dd8902e64a097ed3 (patch)
treefb839af331b1592298a8c4505df4b1aed26f214e /templates/community.md.erb
parent6faac7eca8e9e76ea96a0734692bc414a008a853 (diff)
Add list of properties for each community
Diffstat (limited to 'templates/community.md.erb')
-rw-r--r--templates/community.md.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/community.md.erb b/templates/community.md.erb
index ba61c9b..52b3de5 100644
--- a/templates/community.md.erb
+++ b/templates/community.md.erb
@@ -20,6 +20,12 @@
| 45-54 | <%= self[:male_45_54] %> | <%= self[:fem_45_54] %> | <%= self[:other_45_54] %> |
| | <%= self[:male_cnt] %> | <%= self[:female_cnt] %> | <%= self[:other_cnt] %> |
+| Address | Value | Year Built | Size (SqFt) |
+| ------- | ----- | ---------- | ----------- |
+<%- self.properties.each do |property| -%>
+| <%= property[:address] %> | <%= number_to_currency(property[:assessed_value]) %> | <%= property[:year_of_construction] %> | <%= property[:land_size_sf] %> |
+<%- end -%>
+
[homepage]: <%= homepage_url %>
[profile]: <%= profile_url %>
[projection]: <%= projection_url %>