Skip to content

Instantly share code, notes, and snippets.

@almaron
Created May 3, 2012 11:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save almaron/2585197 to your computer and use it in GitHub Desktop.
Save almaron/2585197 to your computer and use it in GitHub Desktop.
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
<div><%= f.label :name %>: <%= f.text_field :name , :class => 'input_text'%></div>
<div><%= f.label :email %>: <%= f.email_field :email, :class => 'input_text' %></div>
<div><%= f.label :password %>: <%= f.password_field :password, :class => 'input_text'%></div>
<div><%= f.label :password_confirmation %>: <%= f.password_field :password_confirmation, :class => 'input_text' %></div>
<div><%= f.submit t('common.buttons.register'), :class => 'input_ok' %></div>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment