Revision 9b51b2b2
Added by Ohad Levy over 5 years ago
app/views/users/_form.html.erb | ||
---|---|---|
|
||
<%= select_f(f, :auth_source_id, AuthSource.except_hidden.to_a.delete_if { |a| a.to_label.nil? } , :id,
|
||
:to_label, { :include_blank => true } ,
|
||
{ :onchange => 'auth_source_selected()',
|
||
{ :onchange => 'tfm.users.authSourceSelected(this)',
|
||
:label => _('Authorized by') } ) unless @editing_self %>
|
||
|
||
<div id='password' <%= display? !@user.manage_password? %>>
|
Also available in: Unified diff
fixes #24191 - moves auth_source_selected JS function to webpack