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>
12 <div class='text-muted col-sm order-sm-2'>
13 <h4><%= t ".about.header" %></h4>
14 <%= t ".about.html" %>
18 <%= form_for current_user, :url => { :action => "create" }, :html => { :class => "standard-form" } do |f| %>
19 <%= hidden_field_tag("referer", h(@referer)) unless @referer.nil? %>
22 <div class="standard-form-row">
23 <label for="email" class="standard-label">
24 <%= t ".email address" %>
26 <%= f.email_field(:email, :tabindex => 1) %>
27 <%= f.error_message_on(:email) %>
29 <div class="standard-form-row">
30 <label for="email_confirmation" class="standard-label">
31 <%= t ".confirm email address" %>
33 <%= f.email_field(:email_confirmation, :tabindex => 2) %>
34 <%= f.error_message_on(:email_confirmation) %>
36 <span class="form-help deemphasize"><%= t(".not_displayed_publicly_html") %></span>
40 <div class="standard-form-row">
41 <label for="display_name" class="standard-label">
42 <%= t ".display name" %>
44 <%= f.text_field(:display_name, :tabindex => 3) %>
45 <%= f.error_message_on(:display_name) %>
47 <span class="form-help deemphasize"><%= t ".display name description" %></span>
50 <fieldset class="form-divider" id="auth_field">
51 <div class="standard-form-row">
52 <label for="openid_url" class="standard-label">
53 <%= t ".external auth" %>
55 <%= f.select(:auth_provider, Auth::PROVIDERS, :default => "", :tabindex => 4) %>
56 <%= f.text_field(:auth_uid, :tabindex => 5) %>
57 <%= f.error_message_on(:auth_uid) %>
59 <span class="form-help deemphasize"><%= t ".auth no password" %></span>
63 <div class="standard-form-row">
64 <label for='user[pass_crypt]' class="standard-label">
67 <%= f.password_field(:pass_crypt, :tabindex => 6) %>
68 <%= f.error_message_on(:pass_crypt) %>
70 <div class="standard-form-row">
71 <label class="standard-label">
72 <%= t ".confirm password" %>
74 <%= f.password_field(:pass_crypt_confirmation, :tabindex => 7) %>
75 <%= f.error_message_on(:pass_crypt_confirmation) %>
79 <div id="auth_prompt" class="standard-form-row">
80 <%= link_to t(".use external auth"), "#", :id => "auth_enable" %>
83 <%= submit_tag t(".continue"), :tabindex => 8 %>