32 lines
1.0 KiB
Plaintext
32 lines
1.0 KiB
Plaintext
<div id="c-users">
|
|
<div id="a-new" class="fixed-width-container">
|
|
<h1>Sign Up</h1>
|
|
|
|
<p>
|
|
A basic account is <strong>free</strong> and lets you keep favorites, upload artwork, edit tags, and post
|
|
comments. If you want <%= link_to "more features", new_user_upgrade_path %> you can upgrade your account later.
|
|
</p>
|
|
|
|
<div id="p3">
|
|
<%= simple_form_for(@user, html: {id: "signup-form"}) do |f| %>
|
|
<%= f.input :name, as: :string %>
|
|
<%= f.input :email, required: false, as: :email, hint: "Optional" %>
|
|
<%= f.input :password %>
|
|
<%= f.input :password_confirmation %>
|
|
|
|
<% if Danbooru.config.enable_recaptcha? %>
|
|
<%= invisible_recaptcha_tags callback: 'submitInvisibleRecaptchaForm', text: 'Sign up' %>
|
|
<% else %>
|
|
<%= f.submit "Sign up", :data => { :disable_with => "Signing up..." } %>
|
|
<% end %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
Sign up - <%= Danbooru.config.app_name %>
|
|
<% end %>
|