From: Anton Khorev Date: Tue, 9 Jul 2024 13:44:12 +0000 (+0300) Subject: Remove .list-inline classes from auth providers template X-Git-Tag: live~394^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/149ff72caad4bf24c325649eb31dfa794597bd24?hp=1bc6c2e1dc71da2530a0aac9985526f04cf03885 Remove .list-inline classes from auth providers template None of them were on html lists. --- diff --git a/app/views/application/_auth_providers.html.erb b/app/views/application/_auth_providers.html.erb index e3e5123cc..403a4cfae 100644 --- a/app/views/application/_auth_providers.html.erb +++ b/app/views/application/_auth_providers.html.erb @@ -1,5 +1,5 @@
-
+
<% prefered_auth_button_available = false %> <% %w[google facebook microsoft github wikipedia].each do |provider| %> @@ -11,7 +11,7 @@ <% end -%> <% if prefered_auth_button_available %> -
+
<% %w[google facebook microsoft github wikipedia].each do |provider| %> <% if Settings.key?("#{provider}_auth_id".to_sym) -%> <% if @preferred_auth_provider == provider %> @@ -20,9 +20,9 @@ <% end -%> <% end -%>
-
+
<% else %> -
+
<% end %> <%= link_to image_tag("openid.svg",