From: Adam Hoyle Date: Sun, 17 Oct 2021 21:34:39 +0000 (+0100) Subject: Remove unnecessary code X-Git-Tag: live~1451^2~30 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/97e70e93bb02f304126a119c539ab6601c400ce9?ds=inline Remove unnecessary code --- 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 %>