]> git.openstreetmap.org Git - rails.git/blob - app/views/site/communities.html.erb
Simplify template markup
[rails.git] / app / views / site / communities.html.erb
1 <% content_for :heading do %>
2   <h1><%= t ".title" %></h1>
3 <% end %>
4
5 <p><%= t ".lede_text" %></p>
6
7 <h2><%= t ".local_chapters.title" %></h2>
8 <p><%= t ".local_chapters.about_text" %></p>
9 <p><%= t ".local_chapters.list_text" %></p>
10 <ul>
11   <% @local_chapters.each do |chapter| %>
12     <li><a href="<%= chapter.url %>"><%= t "osm_community_index.local_chapter.#{chapter.id}.name" %></a></li>
13   <% end %>
14 </ul>
15
16 <h2><%= t ".other_groups.title" %></h2>
17 <p><%= t ".other_groups.about_html" %></p>