Skip to content

Instantly share code, notes, and snippets.

@marawannwh
Created March 27, 2013 16:00
Show Gist options
  • Save marawannwh/5255400 to your computer and use it in GitHub Desktop.
Save marawannwh/5255400 to your computer and use it in GitHub Desktop.
<h2>Sign up</h2>
<%= 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 %>
<%= f.input :name %>
<%= f.input :password, :required => true %>
<%= f.input :password_confirmation, :required => true %>
</div>
<div class="form-actions">
<%= f.button :submit, "Sign up" %>
</div>
<% end %>
<%= render "devise/shared/links" %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment