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' %>
8 <p><%= t 'user.new.contact_webmaster' %>
13 <p><%= t 'user.new.fill_form' %>
16 <p><%= t 'user.new.license_agreement' %>
19 <%= error_messages_for 'user' %>
21 <% form_tag :action => 'save' do %>
22 <%= hidden_field_tag('referer', h(params[:referer])) unless params[:referer].nil? %>
23 <table id="signupForm">
24 <tr><td class="fieldName"><%= t 'user.new.email address' %></td><td><%= text_field('user', 'email',{:size => 50, :maxlength => 255, :tabindex => 1, :value => @email}) %></td></tr>
25 <tr><td class="fieldName"><%= t 'user.new.confirm email address' %></td><td><%= text_field('user', 'email_confirmation',{:size => 50, :maxlength => 255, :tabindex => 2}) %></td></tr>
26 <tr><td></td><td><span class="minorNote"><%= t 'user.new.not displayed publicly' %></span></td></tr>
27 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
28 <tr><td class="fieldName"><%= t 'user.new.display name' %></td><td><%= text_field('user', 'display_name',{:size => 30, :maxlength => 255, :tabindex => 3, :value => @nickname}) %></td></tr>
29 <tr><td></td><td><span class="minorNote"><%= t 'user.new.display name description' %></span></td></tr>
30 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
31 <tr><td class="fieldName"><%= t 'user.new.password' %></td><td><%= password_field('user', 'pass_crypt',{:size => 30, :maxlength => 255, :tabindex => 4}) %></td></tr>
32 <tr><td class="fieldName"><%= t 'user.new.confirm password' %></td><td><%= password_field('user', 'pass_crypt_confirmation',{:size => 30, :maxlength => 255, :tabindex => 5}) %></td></tr>
33 <tr><td colspan="2"> <!--vertical spacer--></td></tr>
35 <tr id="openid-url"><td class="fieldName"><%= t 'user.new.openID' %></td><td><%= text_field('user', 'openid_url',{:size => 50, :maxlength => 255, :tabindex => 6, :value => @openID, :class => "openid_url"}) %></td></tr>
36 <tr id="openid-note"><td></td><td><span class="minorNote"><%= t 'user.new.openID description' %></span></td></tr>
38 <tr id="openid-prompt"><td></td><td><span class="minorNote"><%= link_to_function(t 'user.new.openID associate') { |page| page.hide 'openid-prompt'; page.show 'openid-url', 'openid-note', 'openid-note-2' } %></span></td></tr>
39 <tr id="openid-url" style="display: none"><td class="fieldName"><%= t 'user.new.openID' %></td><td><%= text_field('user', 'openid_url',{:size => 50, :maxlength => 255, :tabindex => 6, :value => @openID, :class => "openid_url"}) %></td></tr>
40 <tr id="openid-note" style="display: none"><td></td><td><span class="minorNote"><%= t 'user.new.openID description' %></span></td></tr>
41 <tr id="openid-note-2" style="display: none"><td></td><td><span class="minorNote"><%= t 'user.new.openID nopassword' %></span></td></tr>
43 <tr><td colspan="2" > <!--vertical spacer--></td></tr>
44 <tr><td></td><td align="right"><input type="submit" value="<%= t'user.new.signup' %>" tabindex="7"></td></tr>
48 <%= javascript_include_tag 'https://ethnio.com/remotes/62786' %>