summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-05-24 12:42:16 -0600
committermo khan <mo@mokhan.ca>2024-05-24 12:42:16 -0600
commitb5076bfc226cf738aa715abd9cd2ca6d58e89a42 (patch)
tree17e46c3824cdb51f99432a20c71f089ea3c07a11 /templates
parent02a8c54cb271b55bfa4c7cc1189dc0418df37c94 (diff)
fix percent for non-binary people
Diffstat (limited to 'templates')
-rw-r--r--templates/communities.md.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/communities.md.erb b/templates/communities.md.erb
index 3116196..63babd1 100644
--- a/templates/communities.md.erb
+++ b/templates/communities.md.erb
@@ -3,9 +3,9 @@
| Sector | Name | Total | Male | Female | Non-binary | Dogs | Cats |
| ------ | ---- | ----- | ---- | ------ | ---------- | ---- | ---- |
<%- self.sort.each do |community| -%>
-| <%= community[:sector] %> | [<%= community.name %>][<%= community.name.parameterize %>] | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> (<%= community.percent(:male_cnt) %>%) | <%= community[:female_cnt] %> (<%= community.percent(:female_cnt) %>%) | <%= community[:other_cnt] %> <%= community.percent(:other_cnt) %> | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> |
+| <%= community[:sector] %> | [<%= community.name %>][<%= community.name.parameterize %>] | <%= community[:res_cnt] %> | <%= community[:male_cnt] %> (<%= community.percent(:male_cnt) %>%) | <%= community[:female_cnt] %> (<%= community.percent(:female_cnt) %>%) | <%= community[:other_cnt] %> (<%= community.percent(:other_cnt) %>%) | <%= community[:dog_cnt] %> | <%= community[:cat_cnt] %> |
<%- end -%>
<%- self.sort.each do |community| -%>
-[<%= community.name.parameterize %>]: ./,<%= community[:sector].parameterize %>/<%= community.name.parameterize %>/README.md
+[<%= community.name.parameterize %>]: ./<%= community[:sector].parameterize %>/<%= community.name.parameterize %>/README.md
<%- end -%>