Sha256: e4005b0c328db9c13be8f1e8dea6233411362bffb87920bc198ee7e5cc5435d2
Contents?: true
Size: 1.74 KB
Versions: 29
Compression:
Stored size: 1.74 KB
Contents
<h1>Sign up</h1> <%= form_for User.new, url: users_url do |f| %> <% if f.object.errors.any? %> <div id="error_explanation"> <h2><%= pluralize(f.object.errors.count, "error") %> prohibited this user from being saved:</h2> <ul> <% f.object.errors.full_messages.each do |message| %> <li><%= message %></li> <% end %> </ul> </div> <% end %> <div class="field" data-attr="email"> <%= f.label :email %><br> <%= f.text_field :email %> <span class="errors" data-for="email"><%= f.object.errors[:email].first %></span> </div> <div class="field" data-attr="password"> <%= f.label :password %><br> <%= f.password_field :password %> <span class="errors" data-for="password"><%= f.object.errors[:password].first %></span> </div> <div class="field" data-attr="password_confirmation"> <%= f.label :password_confirmation %><br> <%= f.password_field :password_confirmation %> <span class="errors" data-for="password_confirmation"><%= f.object.errors[:password_confirmation].first %></span> </div> <div class="field" data-attr="username"> <%= f.label :username %><br> <%= f.text_field :username %> <span class="errors" data-for="username"><%= f.object.errors[:username].first %></span> </div> <div class="actions"> <%= f.submit %> <span class="errors" data-for="base"><%= f.object.errors[:base].first %></span> </div> <% end %> <p id="verification_info" class="none">Please wait while administrator verifies your account...</p> <p id="verification_progress" class="none">Your account is just verified...</p> <p id="sign_in_paragraph">Already have account? <%= link_to "Sign in", new_user_session_url %></p> <p>Go back to <%= link_to "main page", root_url %></p>
Version data entries
29 entries across 29 versions & 1 rubygems