% unless @auth_sources.empty? || OpenProject::Configuration.disable_password_login? %>
<% 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' %>
<%= f.text_field :login, required: true, size: 25, disabled: true %>
<% end %>