Sha256: bad8b25118848f6d732cb20b05cf8ded25d288c7f1004cbaaaae6103b860a8e8

Contents?: true

Size: 1.05 KB

Versions: 30

Compression:

Stored size: 1.05 KB

Contents

<h1>Sign up</h1>

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

      <ul>
        <%% @<%= singular_table_name %>.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, autocomplete: "new-password" %>
    <div>8 characters minimum.</div>
  </div>

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

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

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
authentication-zero-2.2.9 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.8 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.7 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.6 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.5 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.4 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.3 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.2 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.2.1 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.1.1 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.1.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-2.0.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-1.0.2 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-1.0.1 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-1.0.0 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-0.0.24 lib/generators/authentication/templates/erb/registrations/new.html.erb.tt
authentication-zero-0.0.23 lib/generators/authentication/templates/app/views/registrations/new.html.erb.tt
authentication-zero-0.0.22 lib/generators/authentication/templates/views/registrations/new.html.erb.tt
authentication-zero-0.0.21 lib/generators/authentication/templates/views/registrations/new.html.erb.tt
authentication-zero-0.0.20 lib/generators/authentication/templates/views/registrations/new.html.erb.tt