Skip to content

Instantly share code, notes, and snippets.

@MarcoMorawec
Created October 6, 2013 21:40
Show Gist options
  • Save MarcoMorawec/6859447 to your computer and use it in GitHub Desktop.
Save MarcoMorawec/6859447 to your computer and use it in GitHub Desktop.
<div class="my-wrapper">
<h2 class="custom-font-1 text-center">Sign up</h2>
<div class="span6 offset3 stolen-surfbox text-center">
<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<%= f.error_notification %>
<div class="form-inputs">
<%= f.input :email, :required => true, :autofocus => true %>
<br/>
<%= f.input :password, :required => true %>
<br/>
<%= f.input :password_confirmation, :required => true %>
</div>
<br/>
<%= f.button :submit, "Sign up", :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