<%= t('.createaccounttitle') %>
<%= form_for @new_user, { :url => signup_path } do |f| %> <%= hidden_field_tag "invitation_code", @invitation.code %>

To create a new account, enter your e-mail address and a password. Your e-mail address will never be shown to users and will only be used if you need to reset your password, or to receive optional new-message alerts. Your username can be changed later.

<%= error_messages_for(@new_user) %>

<%= f.label :invitation, "Invited By:", :class => "required" %> <%= @invitation.user.username %>

<%= f.label :username, "Username:", :class => "required" %> <%= f.text_field :username, :size => 30 %> <%= User.username_regex_s %>
<%= f.label :email, "E-mail Address:", :class => "required" %> <%= f.email_field :email, :size => 30 %> Gravatar'ized
<%= f.label :password, "Password:", :class => "required" %> <%= f.password_field :password, :size => 30, :autocomplete => "off" %>
<%= f.label :password_confirmation, "Password (again):", :class => "required" %> <%= f.password_field :password_confirmation, :size => 30, :autocomplete => "off" %>

Want to tell us about yourself? It's optional, but it will be visible in your public profile and can be changed at any time.

<%= f.label :about, "About:", :class => "required" %> <%= f.text_area :about, :size => "100x5", :style => "width: 600px;" %>
Markdown formatting available
<%= render :partial => "global/markdownhelp" %>

<%= submit_tag "Signup" %>

<% end %>