<%= f.text_field :firstname, :required => true %>
<%= f.text_field :lastname, :required => true %>
<%= l(:label_gender) %><%= select_tag 'gender', "".html_safe %>
<%= f.text_field :mail, :required => true %>
<% if Setting.openid? %>
<%= f.text_field :identity_url %>
<% end %>
<% @user.custom_field_values.select(&:editable?).each do |value| %>