From 9e496e44c49d0f8e85587c60683d9d1514ae24cc Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 2 Mar 2022 15:48:51 +0000 Subject: [PATCH] Simplify template markup --- app/views/site/communities.html.erb | 30 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 16 deletions(-) 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" %>

-- 2.39.5