%= error_messages_for(:user) %> <%= error_messages_for(:system_user) %> <% form_for(:user) do |f| %>
<%= f.text_field(@user.dn_attribute) %>
<%= f.password_field(:password) %>
<%= f.password_field(:password_confirmation) %>
<%= submit_tag(_('Sign up')) %>
<% names = @user.attribute_names(true) - ["objectClass", "userPassword"] %> <% names.sort.each do |name| %><% end -%>
<%= submit_tag(_('Sign up')) %>
<% end -%>