<%=l(:label_register)%>

<% form_tag({:action => 'register'}, :class => "tabular") do %> <%= error_messages_for 'user' %>

<%= text_field 'user', 'login', :size => 25 %>

<%= password_field_tag 'password', nil, :size => 25 %>
<%= l(:text_caracters_minimum, 4) %>

<%= password_field_tag 'password_confirmation', nil, :size => 25 %>

<%= text_field 'user', 'firstname' %>

<%= text_field 'user', 'lastname' %>

<%= text_field 'user', 'mail' %>

<%= select("user", "language", lang_options_for_select) %>

<% for @custom_value in @custom_values %>

<%= custom_field_tag_with_label @custom_value %>

<% end %>
<%= submit_tag l(:button_submit) %> <% end %> <% content_for :header_tags do %> <%= javascript_include_tag 'calendar/calendar' %> <%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %> <%= javascript_include_tag 'calendar/calendar-setup' %> <%= stylesheet_link_tag 'calendar' %> <% end %>