1 <h1><%= t 'user.new.heading' %></h1>
3 <% if Acl.address(request.remote_ip).where(:k => "no_account_creation").exists? %>
5 <p><%= t 'user.new.no_auto_account_create' %></p>
7 <p><%= t 'user.new.contact_webmaster' %></p>
11 <p><%= t 'user.new.fill_form' %></p>
13 <%= error_messages_for 'user' %>
15 <%= form_for :user, :url => { :action => 'terms' } do %>
16 <%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
18 <table id="signupForm">
20 <td class="fieldName"><%= t 'user.new.email address' %></td>
21 <td><%= email_field(:user, :email, { :size => 50, :maxlength => 255, :tabindex => 1 }) %></td>
24 <td class="fieldName"><%= t 'user.new.confirm email address' %></td>
25 <td><%= email_field(:user, :email_confirmation, { :size => 50, :maxlength => 255, :tabindex => 2 }) %></td>
29 <td><span class="minorNote"><%= raw(t 'user.new.not displayed publicly') %></span></td>
32 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
35 <td class="fieldName"><%= t 'user.new.display name' %></td>
36 <td><%= text_field(:user, :display_name, { :size => 30, :maxlength => 255, :tabindex => 3 }) %></td></tr>
39 <td><span class="minorNote"><%= t 'user.new.display name description' %></span></td>
42 <tr id="openid_spacer"><td colspan="2"> <!--vertical spacer--></td></tr>
44 <tr id="openid_field">
45 <td class="fieldName"><%= raw t 'user.new.openid', :logo => openid_logo %></td>
46 <td><%= url_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :class => "openid_url" }) %></td>
49 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
52 <td class="fieldName"><%= t 'user.new.password' %></td>
53 <td><%= password_field(:user, :pass_crypt, { :size => 30, :maxlength => 255, :tabindex => 5 }) %></td>
56 <td class="fieldName"><%= t 'user.new.confirm password' %></td>
57 <td><%= password_field(:user, :pass_crypt_confirmation, { :size => 30, :maxlength => 255, :tabindex => 6 }) %></td>
62 <span id="openid_prompt" class="minorNote"><%= link_to_function(raw(t('user.new.use openid', :logo => openid_logo)), "enableOpenID()") %></span>
63 <span id="openid_note" class="minorNote"><%= t 'user.new.openid no password' %></span>
67 <tr><td colspan="2" > <!--vertical spacer--></td></tr>
71 <td class="submitButton"><%= submit_tag t('user.new.continue'), :tabindex => 6 %></td>
76 <script type="text/javascript">
77 function enableOpenID()
79 $("openid_prompt").hide();
81 $("openid_spacer").show();
82 $("openid_field").show();
83 $("openid_note").show();
85 $("openid_url").disabled = false;
88 function disableOpenID()
90 $("openid_prompt").show();
92 $("openid_spacer").hide();
93 $("openid_field").hide();
94 $("openid_note").hide();
96 $("openid_url").disabled = true;
99 <% if params[:openid] or (@user and @user.openid_url and not @user.openid_url.empty?) -%>