mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 17:54:48 +02:00
![Jean-Philippe Lang](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8754 e93f8b46-1217-0410-a6f0-8f06a7374b81
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
<h2><%=l(:label_register)%> <%=link_to l(:label_login_with_open_id_option), signin_url if Setting.openid? %></h2>
|
|
|
|
<% labelled_form_for @user, :url => {:action => 'register'} do |f| %>
|
|
<%= error_messages_for 'user' %>
|
|
|
|
<div class="box tabular">
|
|
<% if @user.auth_source_id.nil? %>
|
|
<p><%= f.text_field :login, :size => 25, :required => true %></p>
|
|
|
|
<p><%= f.password_field :password, :size => 25, :required => true %>
|
|
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
|
|
|
<p><%= f.password_field :password_confirmation, :size => 25, :required => true %></p>
|
|
<% end %>
|
|
|
|
<p><%= f.text_field :firstname, :required => true %></p>
|
|
<p><%= f.text_field :lastname, :required => true %></p>
|
|
<p><%= f.text_field :mail, :required => true %></p>
|
|
<p><%= f.select :language, lang_options_for_select %></p>
|
|
|
|
<% if Setting.openid? %>
|
|
<p><%= f.text_field :identity_url %></p>
|
|
<% end %>
|
|
|
|
<% @user.custom_field_values.select {|v| v.editable? || v.required?}.each do |value| %>
|
|
<p><%= custom_field_tag_with_label :user, value %></p>
|
|
<% end %>
|
|
</div>
|
|
|
|
<%= submit_tag l(:button_submit) %>
|
|
<% end %>
|