mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-17 22:51:24 +08:00
8 lines
370 B
Text
8 lines
370 B
Text
|
<% Rails.configuration.x.azure_ad_apps.select { |uid, config| config[:enable_sign_in] }.each do |uid, config| %>
|
||
|
<div class="form-group">
|
||
|
<%= form_tag user_customazureactivedirectory_omniauth_authorize_path(provider: config[:provider]), method: :post do %>
|
||
|
<%= submit_tag config[:sign_in_label], class: 'btn btn-azure-ad' %>
|
||
|
<% end %>
|
||
|
</div>
|
||
|
<% end %>
|