2006-07-29 13:32:58 +04:00
|
|
|
<h2><%=l(:label_register)%></h2>
|
|
|
|
|
2007-01-26 22:56:25 +03:00
|
|
|
<% form_tag({:action => 'register'}, :class => "tabular") do %>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= error_messages_for 'user' %>
|
|
|
|
|
|
|
|
<div class="box">
|
|
|
|
<!--[form:user]-->
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="user_login"><%=l(:field_login)%> <span class="required">*</span></label>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= text_field 'user', 'login', :size => 25 %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= password_field_tag 'password', nil, :size => 25 %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= text_field 'user', 'firstname' %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label>
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= text_field 'user', 'lastname' %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label>
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= text_field 'user', 'mail' %></p>
|
|
|
|
|
2006-09-02 17:33:23 +04:00
|
|
|
<p><label for="user_language"><%=l(:field_language)%></label>
|
2007-03-12 20:59:02 +03:00
|
|
|
<%= select("user", "language", lang_options_for_select) %></p>
|
|
|
|
|
2006-07-31 23:52:08 +04:00
|
|
|
<% for @custom_value in @custom_values %>
|
|
|
|
<p><%= custom_field_tag_with_label @custom_value %></p>
|
2007-03-12 20:59:02 +03:00
|
|
|
<% end %>
|
2006-07-29 13:32:58 +04:00
|
|
|
<!--[eoform:user]-->
|
|
|
|
</div>
|
|
|
|
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= submit_tag l(:button_submit) %>
|
2007-01-26 22:56:25 +03:00
|
|
|
<% end %>
|
2007-01-06 12:08:17 +03:00
|
|
|
|
|
|
|
<% 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 %>
|