Registration

<%= link_to "You can use this tool to find your SteamID.", "/files/client/steamid_finder.exe" %> <%= form_for @user, html: { class: "square" } do |f| %> <%= render 'shared/errors', messages: @user.errors.full_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 %> <%= f.text_field :steamid, placeholder: "0:1:23456789" %>
<%= f.label :birthdate %> <%= date_select :user, :birthdate, order: [:year, :month, :day], start_year: 1950 %>
<%= f.submit "Register" %>
<% end %>