annotate .svn/pristine/7b/7b0091cb7275a16ba6daf28038e36a659196b7a1.svn-base @ 1519:afce8026aaeb redmine-2.4-integration

Merge from branch "live"
author Chris Cannam
date Tue, 09 Sep 2014 09:34:53 +0100
parents cbb26bc654de
children
rev   line source
Chris@909 1 <h2><%=l(:label_register)%> <%=link_to l(:label_login_with_open_id_option), signin_url if Setting.openid? %></h2>
Chris@909 2
Chris@909 3 <% form_tag({:action => 'register'}, :class => "tabular") do %>
Chris@909 4 <%= error_messages_for 'user' %>
Chris@909 5
Chris@909 6 <div class="box">
Chris@909 7 <!--[form:user]-->
Chris@909 8 <% if @user.auth_source_id.nil? %>
Chris@909 9 <p><label for="user_login"><%=l(:field_login)%> <span class="required">*</span></label>
Chris@909 10 <%= text_field 'user', 'login', :size => 25 %></p>
Chris@909 11
Chris@909 12 <p><label for="password"><%=l(:field_password)%> <span class="required">*</span></label>
Chris@909 13 <%= password_field_tag 'password', nil, :size => 25 %><br />
Chris@909 14 <em><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
Chris@909 15
Chris@909 16 <p><label for="password_confirmation"><%=l(:field_password_confirmation)%> <span class="required">*</span></label>
Chris@909 17 <%= password_field_tag 'password_confirmation', nil, :size => 25 %></p>
Chris@909 18 <% end %>
Chris@909 19
Chris@909 20 <p><label for="user_firstname"><%=l(:field_firstname)%> <span class="required">*</span></label>
Chris@909 21 <%= text_field 'user', 'firstname' %></p>
Chris@909 22
Chris@909 23 <p><label for="user_lastname"><%=l(:field_lastname)%> <span class="required">*</span></label>
Chris@909 24 <%= text_field 'user', 'lastname' %></p>
Chris@909 25
Chris@909 26 <p><label for="user_mail"><%=l(:field_mail)%> <span class="required">*</span></label>
Chris@909 27 <%= text_field 'user', 'mail' %></p>
Chris@909 28
Chris@909 29 <p><label for="user_language"><%=l(:field_language)%></label>
Chris@909 30 <%= select("user", "language", lang_options_for_select) %></p>
Chris@909 31
Chris@909 32 <% if Setting.openid? %>
Chris@909 33 <p><label for="user_identity_url"><%=l(:field_identity_url)%></label>
Chris@909 34 <%= text_field 'user', 'identity_url' %></p>
Chris@909 35 <% end %>
Chris@909 36
Chris@909 37 <% @user.custom_field_values.select {|v| v.editable? || v.required?}.each do |value| %>
Chris@909 38 <p><%= custom_field_tag_with_label :user, value %></p>
Chris@909 39 <% end %>
Chris@909 40 <!--[eoform:user]-->
Chris@909 41 </div>
Chris@909 42
Chris@909 43 <%= submit_tag l(:button_submit) %>
Chris@909 44 <% end %>