From 97e70e93bb02f304126a119c539ab6601c400ce9 Mon Sep 17 00:00:00 2001 From: Adam Hoyle Date: Sun, 17 Oct 2021 22:34:39 +0100 Subject: [PATCH] Remove unnecessary code --- app/views/site/communities.html.erb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/views/site/communities.html.erb b/app/views/site/communities.html.erb index 265b26e80..5db0d45fd 100644 --- a/app/views/site/communities.html.erb +++ b/app/views/site/communities.html.erb @@ -1,19 +1,19 @@ <% content_for :heading do %> - <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> - <%= t ".title", :locale => @locale %> + <%= tag.h1 do %> + <%= t ".title" %> <% end %> <% end %> -<%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %> -

<%= t ".lede_text", :locale => @locale %>

-

<%= t ".local_chapters.title", :locale => @locale %>

-

<%= t ".local_chapters.about_text", :locale => @locale %>

-

<%= t ".local_chapters.list_text", :locale => @locale %>

+<%= tag.div do %> +

<%= t ".lede_text" %>

+

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

+

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

+

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

-

<%= t ".other_groups.title", :locale => @locale %>

-

<%= t ".other_groups.about_html", :locale => @locale %>

+

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

+

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

<% end %> -- 2.45.1