1 <h1><%= t 'user.new.heading' %></h1>
3 <% if Acl.find_by_address(request.remote_ip, :conditions => {:k => "no_account_creation"}) %>
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_tag :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><%= text_field(:user, :email, { :size => 50, :maxlength => 255, :tabindex => 1, :value => params[:email] }) %></td>
24 <td class="fieldName"><%= t 'user.new.confirm email address' %></td>
25 <td><%= text_field(:user, :email_confirmation, { :size => 50, :maxlength => 255, :tabindex => 2, :value => params[:email] }) %></td>
29 <td><span class="minorNote"><%= 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, :value => params[:nickname] }) %></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>
45 <td class="fieldName"><%= t 'user.new.openid', :logo => openid_logo %></td>
46 <td><%= text_field(:user, :openid_url, { :id => "openid_url", :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :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(t('user.new.use openid', :logo => openid_logo)) { |page| page.hide 'openid_prompt'; page.show 'openid_spacer', 'openid_url', 'openid_note' } %></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>
77 update_page_tag do |page|
78 if params[:openid] or (@user and @user.openid_url)
79 page[:openid_prompt].hide
81 page[:openid_spacer].hide
82 page[:openid_url].hide
83 page[:openid_note].hide
88 <%= javascript_include_tag 'https://ethnio.com/remotes/62786' %>