SHARE
TWEET

Untitled

a guest Jul 19th, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <% provide(:title, 'Sign up') %>
  2. <h1>Sign up</h1>
  3.  
  4. <div class="row">
  5.   <div class="col-md-6 col-md-offset-3">
  6.     <%= form_for(@user) do |f| %>
  7.  
  8.       <%= f.label :name %>
  9.       <%= f.text_field :name, class: 'form-control' %>
  10.  
  11.       <%= f.label :email %>
  12.       <%= f.email_field :email, class: 'form-control' %>
  13.  
  14.       <%= f.label :password %>
  15.       <%= f.password_field :password, class: 'form-control' %>
  16.  
  17.       <%= f.label :password_confirmation, "Confirmation" %>
  18.       <%= f.password_field :password_confirmation, class: 'form-control' %>
  19.  
  20.       <%= f.submit "Create my account", class: "btn btn-primary" %>
  21.     <% end %>
  22.   </div>
  23. </div>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top