Files
danbooru/app/views/users/new.html.erb
evazion 6a984de3d5 views: refactor page titles.
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00

29 lines
999 B
Plaintext

<% page_title "Sign up" %>
<%= 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, 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>