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 <p><%= t 'user.new.license_agreement' %></p>
15 <%= error_messages_for 'user' %>
17 <% form_tag :action => 'save' do %>
18 <%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
20 <table id="signupForm">
22 <td class="fieldName"><%= t 'user.new.email address' %></td>
23 <td><%= text_field(:user, :email, { :size => 50, :maxlength => 255, :tabindex => 1, :value => params[:email] }) %></td>
26 <td class="fieldName"><%= t 'user.new.confirm email address' %></td>
27 <td><%= text_field(:user, :email_confirmation, { :size => 50, :maxlength => 255, :tabindex => 2, :value => params[:email] }) %></td>
31 <td><span class="minorNote"><%= t 'user.new.not displayed publicly' %></span></td>
34 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
37 <td class="fieldName"><%= t 'user.new.display name' %></td>
38 <td><%= text_field(:user, :display_name, { :size => 30, :maxlength => 255, :tabindex => 3, :value => params[:nickname] }) %></td></tr>
41 <td><span class="minorNote"><%= t 'user.new.display name description' %></span></td>
44 <tr id="openid_spacer"><td colspan="2"> <!--vertical spacer--></td></tr>
47 <td class="fieldName"><%= t 'user.new.openid', :logo => openid_logo %></td>
48 <td><%= text_field(:user, :openid_url, { :size => 50, :maxlength => 255, :tabindex => 4, :value => params[:openid], :class => "openid_url" }) %></td>
51 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
54 <td class="fieldName"><%= t 'user.new.password' %></td>
55 <td><%= password_field(:user, :pass_crypt, { :size => 30, :maxlength => 255, :tabindex => 5 }) %></td>
58 <td class="fieldName"><%= t 'user.new.confirm password' %></td>
59 <td><%= password_field(:user, :pass_crypt_confirmation, { :size => 30, :maxlength => 255, :tabindex => 6 }) %></td>
64 <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>
65 <span id="openid_note" class="minorNote"><%= t 'user.new.openid no password' %></span>
69 <tr><td colspan="2" > <!--vertical spacer--></td></tr>
73 <td align="right"><%= submit_tag t('user.new.signup'), :tabindex => 6 %></td>
79 update_page_tag do |page|
81 page[:openid_prompt].hide
83 page[:openid_spacer].hide
84 page[:openid_url].hide
85 page[:openid_note].hide
90 <%= javascript_include_tag 'https://ethnio.com/remotes/62786' %>