1 <% content_for :head do %>
2 <%= javascript_include_tag "user" %>
5 <% content_for :heading do %>
6 <h1><%= t 'user.new.title' %></h1>
7 <div class='header-illustration new-user-main'></div>
8 <div class='header-illustration new-user-arm'></div>
11 <%= form_for :user, :url => { :action => 'create' }, :html => { :class => 'standard-form fillL col6 inner22' } do %>
12 <%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
15 <div class="form-row">
16 <label for="email" class="standard-label">
17 <%= t 'user.new.email address' %>
19 <%= email_field(:user, :email, { :tabindex => 1 }) %>
20 <%= error_message_on(:user, :email) %>
22 <div class="form-row">
23 <label for="email_confirmation" class="standard-label">
24 <%= t 'user.new.confirm email address' %>
26 <%= email_field(:user, :email_confirmation, { :tabindex => 2 }) %>
27 <%= error_message_on(:user, :email_confirmation) %>
29 <span class="form-help deemphasize"><%= raw(t 'user.new.not displayed publicly') %></span>
33 <div class="form-row">
34 <label for="display_name" class="standard-label">
35 <%= t 'user.new.display name' %>
37 <%= text_field(:user, :display_name, { :tabindex => 3 }) %>
38 <%= error_message_on(:user, :display_name) %>
40 <span class="form-help deemphasize"><%= t 'user.new.display name description' %></span>
43 <fieldset class="form-divider" id="auth_field">
44 <div class="form-row">
45 <label for="openid_url" class="standard-label">
46 <%= raw t 'user.new.external auth' %>
48 <%= select(:user, :auth_provider, Auth::PROVIDERS, { :default => "", :tabindex => 4 }) %>
49 <%= text_field(:user, :auth_uid, { :tabindex => 5 }) %>
50 <%= error_message_on(:user, :auth_uid) %>
52 <span class="form-help deemphasize"><%= t 'user.new.auth no password' %></span>
56 <div class="form-row">
57 <label for='user[pass_crypt]' class="standard-label">
58 <%= t 'user.new.password' %>
60 <%= password_field(:user, :pass_crypt, { :tabindex => 6 }) %>
61 <%= error_message_on(:user, :pass_crypt) %>
63 <div class="form-row">
64 <label class="standard-label">
65 <%= t 'user.new.confirm password' %>
67 <%= password_field(:user, :pass_crypt_confirmation, { :tabindex => 7 }) %>
68 <%= error_message_on(:user, :pass_crypt_confirmation) %>
72 <div id="auth_prompt" class="form-row">
73 <%= link_to raw(t("user.new.use external auth")), "#", :id => "auth_enable" %>
76 <%= submit_tag t('user.new.continue'), :tabindex => 8 %>
79 <div class='aside col6 deemphasize inner22'>
80 <h4><%= t 'user.new.about.header' %></h4>
81 <%= t 'user.new.about.html' %>