SHARE
TWEET

Untitled

a guest Jul 19th, 2019 68 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.       <%= render 'shared/error_messages' %>
  8.  
  9.       <%= f.label :name %>
  10.       <%= f.text_field :name, class: 'form-control' %>
  11.  
  12.       <%= f.label :email %>
  13.       <%= f.email_field :email, class: 'form-control' %>
  14.  
  15.       <%= f.label :password %>
  16.       <%= f.password_field :password, class: 'form-control' %>
  17.  
  18.       <%= f.label :password_confirmation, "Confirmation" %>
  19.       <%= f.password_field :password_confirmation, class: 'form-control' %>
  20.  
  21.       <%= f.submit "Create my account", class: "btn btn-primary" %>
  22.     <% end %>
  23.   </div>
  24. </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