From: Andy Allan Date: Wed, 2 Mar 2022 15:48:51 +0000 (+0000) Subject: Simplify template markup X-Git-Tag: live~888^2~21 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/9e496e44c49d0f8e85587c60683d9d1514ae24cc Simplify template markup --- diff --git a/app/views/site/communities.html.erb b/app/views/site/communities.html.erb index adbd7ab3d..aee536c05 100644 --- a/app/views/site/communities.html.erb +++ b/app/views/site/communities.html.erb @@ -1,19 +1,17 @@ <% content_for :heading do %> - <%= tag.h1 do %> - <%= t ".title" %> - <% end %> +

<%= t ".title" %>

<% end %> -<%= tag.div do %> -

<%= t ".lede_text" %>

-

<%= t ".local_chapters.title" %>

-

<%= t ".local_chapters.about_text" %>

-

<%= t ".local_chapters.list_text" %>

- -

<%= t ".other_groups.title" %>

-

<%= t ".other_groups.about_html" %>

-<% end %> +

<%= t ".lede_text" %>

+ +

<%= t ".local_chapters.title" %>

+

<%= t ".local_chapters.about_text" %>

+

<%= t ".local_chapters.list_text" %>

+ + +

<%= t ".other_groups.title" %>

+

<%= t ".other_groups.about_html" %>