OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/users/form/authentication/_auth_source.html.erb

10 lines
510 B

<% unless @auth_sources.empty? || OpenProject::Configuration.disable_password_login? %>
<div class="form--field">
<% sources = ([[t(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }) %>
<%= f.select :auth_source_id, sources, label: :'activerecord.attributes.user.auth_source', container_class: '-middle' %>
</div>
<div class="form--field" id="new_user_login" style="display: none;">
<%= f.text_field :login, required: true, size: 25, disabled: true %>
</div>
<% end %>