Skip to content

Instantly share code, notes, and snippets.

@keeperofthenecklace
Created August 18, 2012 18:22
Show Gist options
  • Select an option

  • Save keeperofthenecklace/3388854 to your computer and use it in GitHub Desktop.

Select an option

Save keeperofthenecklace/3388854 to your computer and use it in GitHub Desktop.
app/views/layouts/application.html.erb
<% provide(:title, "Sign up") %>
<h1>Sign up</h1>
<div class="row">
<div class="span6 offset3">
<%= form_for(@user) do |f| %>
<%= render 'shared/error_messages' %>
<%= f.label :name %>
<%= f.text_field :name %>
<%= f.label :email %>
<%= f.text_field :email %>
<%= f.label :password %>
<%= f.password_field :password %>
<%= f.label :password_confirmation, "Confirmation" %>
<%= f.password_field :password_confirmation %>
<%= f.submit "Create User Account", class: "btn btn-large btn-primary" %>
<% end %>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment