Tweak signin / signup pages.

* Link to the signup page on the signin page.
* Clarify that emails are optional on the signup page.
This commit is contained in:
evazion
2019-09-01 15:12:44 -05:00
parent fe4d90c5e0
commit 5b468444e7
2 changed files with 7 additions and 3 deletions

View File

@@ -18,6 +18,10 @@
<label for="remember" id="remember-label">Remember</label>
</div>
<p class="hint">
New to <%= Danbooru.config.app_name %>? <%= link_to "Create a new account", new_user_path %>.
</p>
<div class="input">
<%= submit_tag "Submit", :data => { :disable_with => "Signing in..." } %>
</div>

View File

@@ -2,7 +2,7 @@
<div id="a-new">
<h1>Sign Up</h1>
<p>A basic account is <strong>free</strong> and lets you keep favorites, upload artwork, and write comments. If you want <%= link_to "more features", new_user_upgrade_path %> you can upgrade your account later.</p>
<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>
<h1 style="margin-bottom: 1em;">This site is open to web crawlers so whatever name you choose will be public!</h1>
@@ -10,8 +10,8 @@
<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 %>
<%= f.input :name, as: :string %>
<%= f.input :email, required: false, as: :email, hint: "Optional" %>
<%= f.input :password %>
<%= f.input :password_confirmation %>