Refactor osm-community-index and local chapters models

This commit is contained in:
Adam Hoyle 2021-09-08 17:55:27 +01:00
parent 9d5fd432ee
commit 4bcc88161c
5 changed files with 91 additions and 58 deletions

View file

@ -11,7 +11,7 @@
<p><%= t ".local_chapters.list_text", :locale => @locale %></p>
<ul>
<% @local_chapters.each do |chapter| %>
<li><a href="<%= chapter[:url] %>"><%= chapter[:name] %></a></li>
<li><a href="<%= chapter.url %>"><%= chapter.name %></a></li>
<% end %>
</ul>
<h2><%= t ".other_groups.title", :locale => @locale %></h2>