app/views/decidim/system/organizations/_omniauth_provider.html.erb in decidim-system-0.21.0 vs app/views/decidim/system/organizations/_omniauth_provider.html.erb in decidim-system-0.22.0
- old
+ new
@@ -1,9 +1,13 @@
<% i18n_scope = "decidim.system.organizations.omniauth_settings" %>
<div class="card">
<h5><%= provider_name(provider) %></h5>
+ <% if provider_enabled?(provider) %>
+ <p class="help-text"><%= t("enabled_by_default", scope: i18n_scope) %></p>
+ <% end %>
+
<div class="card-section">
<%= f.check_box(
"omniauth_settings_#{provider}_enabled",
label: t("enabled", scope: i18n_scope)
) %>