<%= f.text_field :login, :required => true, :size => 25 %>
<%= f.select :auth_source_id, ([[l(:label_internal), ""]] + @auth_sources.collect { |a| [a.name, a.id] }), {}, :onchange => "if (this.value=='') {$('#password_fields').show();} else {$('#password_fields').hide();}" %>
<%= f.password_field :password, :required => true, :size => 25 %> <%= l(:text_caracters_minimum, :count => Setting.password_min_length) %>
<%= f.password_field :password_confirmation, :required => true, :size => 25 %>
<%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %>