annotate .svn/pristine/07/072ff390fa0205dbe10e54ecdcfb356c9a41489e.svn-base @ 1524:82fac3dcf466
redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Thu, 11 Sep 2014 10:24:38 +0100 |
parents |
dffacf8a6908 |
children |
|
rev |
line source |
Chris@1517
|
1 <h2><%=l(:label_register)%> <%=link_to l(:label_login_with_open_id_option), signin_url if Setting.openid? %></h2>
|
Chris@1517
|
2
|
Chris@1517
|
3 <%= labelled_form_for @user, :url => register_path do |f| %>
|
Chris@1517
|
4 <%= error_messages_for 'user' %>
|
Chris@1517
|
5
|
Chris@1517
|
6 <div class="box tabular">
|
Chris@1517
|
7 <% if @user.auth_source_id.nil? %>
|
Chris@1517
|
8 <p><%= f.text_field :login, :size => 25, :required => true %></p>
|
Chris@1517
|
9
|
Chris@1517
|
10 <p><%= f.password_field :password, :size => 25, :required => true %>
|
Chris@1517
|
11 <em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
Chris@1517
|
12
|
Chris@1517
|
13 <p><%= f.password_field :password_confirmation, :size => 25, :required => true %></p>
|
Chris@1517
|
14 <% end %>
|
Chris@1517
|
15
|
Chris@1517
|
16 <p><%= f.text_field :firstname, :required => true %></p>
|
Chris@1517
|
17 <p><%= f.text_field :lastname, :required => true %></p>
|
Chris@1517
|
18 <p><%= f.text_field :mail, :required => true %></p>
|
Chris@1517
|
19
|
Chris@1517
|
20 <% unless @user.force_default_language? %>
|
Chris@1517
|
21 <p><%= f.select :language, lang_options_for_select %></p>
|
Chris@1517
|
22 <% end %>
|
Chris@1517
|
23
|
Chris@1517
|
24 <% if Setting.openid? %>
|
Chris@1517
|
25 <p><%= f.text_field :identity_url %></p>
|
Chris@1517
|
26 <% end %>
|
Chris@1517
|
27
|
Chris@1517
|
28 <% @user.custom_field_values.select {|v| v.editable? || v.required?}.each do |value| %>
|
Chris@1517
|
29 <p><%= custom_field_tag_with_label :user, value %></p>
|
Chris@1517
|
30 <% end %>
|
Chris@1517
|
31 </div>
|
Chris@1517
|
32
|
Chris@1517
|
33 <%= submit_tag l(:button_submit) %>
|
Chris@1517
|
34 <% end %>
|