Files
danbooru/app/views/users/new.html.erb
2020-03-25 18:48:42 -05:00

31 lines
1.1 KiB
Plaintext

<% page_title "Sign up" %>
<% meta_description "Create a new account for free on #{Danbooru.config.app_name}." %>
<%= render "secondary_links" %>
<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">
<%= edit_form_for(@user, html: { id: "signup-form" }) do |f| %>
<%= f.input :name, as: :string %>
<%= f.input :email, label: "Email", required: false, as: :email, input_html: { value: "" }, 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>