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

<%= t('.createaccountbody') %>

<%= error_messages_for(@new_user) %>

<%= f.label :invitation, t('.invitedby'), :class => "required" %> <%= @invitation.user.username %>

<%= f.label :username, t('.username'), :class => "required" %> <%= f.text_field :username, :size => 30 %> <%= User.username_regex_s %>
<%= f.label :email, t('.email'), :class => "required" %> <%= f.email_field :email, :size => 30 %> Gravatar
<%= f.label :password, t('.password'), :class => "required" %> <%= f.password_field :password, :size => 30, :autocomplete => "off" %>
<%= f.label :password_confirmation, t('.passwordagain'), :class => "required" %> <%= f.password_field :password_confirmation, :size => 30, :autocomplete => "off" %>

<%= t('.about') %>

<%= f.label :about, t('.abouttitle'), :class => "required" %> <%= f.text_area :about, :size => "100x5", :style => "width: 600px;" %>
<%= t('.markdownavailable') %>
<%= render :partial => "global/markdownhelp" %>

<%= submit_tag t('.signup') %>

<% end %>