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