- <fieldset class="form-group">
- <label for="user_auth_provider"><%= t(".external auth") %></label>
- <div class="form-row">
- <%= f.select(:auth_provider, Auth.providers, :hide_label => true, :wrapper => { :class => "col-auto mb-0" }) %>
+ <fieldset class="mb-3">
+ <label for="user_auth_provider" class="form-label"><%= t(".external auth") %></label>
+ <div class="row">
+ <%= f.select :auth_provider,
+ Auth.providers.map { |provider| [I18n.t("auth.providers.#{provider}"), provider] },
+ :include_blank => t("auth.providers.none"),
+ :hide_label => true,
+ :wrapper => { :class => "col-auto mb-0" } %>