Skip to content

Instantly share code, notes, and snippets.

@thebucknerlife
Created June 2, 2015 22:06
Show Gist options
  • Save thebucknerlife/43c1a3bfa6af2918ef57 to your computer and use it in GitHub Desktop.
Save thebucknerlife/43c1a3bfa6af2918ef57 to your computer and use it in GitHub Desktop.
<!-- app/views/users/new.html.erb -->
<h1>Signup!</h1>
<%= form_for :user, url: '/users' do |f| %>
Name: <%= f.text_field :name %>
Email: <%= f.text_field :email %>
Password: <%= f.password_field :password %>
Password Confirmation: <%= f.password_field :password_confirmation %>
<%= f.submit "Submit" %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment