Sha256: ed1517344d6b700c31c5b9fa04f239f85d6c24ada621b9319f9b607458787f83
Contents?: true
Size: 1.05 KB
Versions: 6
Compression:
Stored size: 1.05 KB
Contents
<h1>Sign up</h1> <%%= form_with(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, 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
6 entries across 6 versions & 1 rubygems