diff --git a/app/views/users/_form.rhtml b/app/views/users/_form.rhtml index 43540e67c..56b157986 100644 --- a/app/views/users/_form.rhtml +++ b/app/views/users/_form.rhtml @@ -20,14 +20,16 @@

<%=l(:label_authentication)%>

<% unless @auth_sources.empty? %> -

<%= f.select :auth_source_id, [[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] } %>

+

<%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {Element.show('password_fields');} else {Element.hide('password_fields');}" %>

<% end %> +

<%= password_field_tag 'password', nil, :size => 25 %>
<%= l(:text_length_between, 4, 12) %>

<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

+
<% content_for :header_tags do %>