Registration

<%= form_for @user do |f| %> <%= f.error_messages %>

<%= f.label :username %>
<%= f.text_field :username %>

<%= f.label :raw_password, "Password" %>
<%= f.password_field :raw_password %>

<%= f.label :email %>
<%= f.text_field :email %>

<%= f.label :steamid %> (e.g. 0:1:23456789)
<%= f.text_field :steamid %>
<%= link_to "You can use this tool to find out", "/files/client/steamid_finder.exe" %>

<%= f.label :birthdate %>
<%= date_select :user, :birthdate, :order => [:year, :month, :day], :start_year => 1950 %>

<%= f.submit "Register" %> <% end %>