Sha256: 159312b81d69de746723d4560c0c6a688602f6180a5e3c26c1e30cc35b9260fd

Contents?: true

Size: 986 Bytes

Versions: 25

Compression:

Stored size: 986 Bytes

Contents

<h1>Sign up</h1>

<%%= form_with(url: sign_up_path) do |form| %>
  <%% if @user.errors.any? %>
    <div style="color: red">
      <h2><%%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>

      <ul>
        <%% @user.errors.each do |error| %>
          <li><%%= error.full_message %></li>
        <%% end %>
      </ul>
    </div>
  <%% end %>

  <div>
    <%%= form.label :email, style: "display: block" %>
    <%%= form.email_field :email, autofocus: true, autocomplete: "email" %>
  </div>

  <div>
    <%%= form.label :password, style: "display: block" %>
    <%%= form.password_field :password, required: true, autocomplete: "new-password" %>
    <div>12 characters minimum.</div>
  </div>

  <div>
    <%%= form.label :password_confirmation, style: "display: block" %>
    <%%= form.password_field :password_confirmation, required: true, autocomplete: "new-password" %>
  </div>

  <div>
    <%%= form.submit "Sign up" %>
  </div>
<%% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
authentication-zero-2.16.5 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.16.4 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.16.3 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.16.2 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.16.1 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.16.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.9 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.8 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.7 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.6 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.5 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.4 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.3 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.2 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.1 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.15.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.14.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.13.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.12.6 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.12.5 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt