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