Created
March 12, 2012 21:00
-
-
Save pencilcheck/2024658 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= form_for user do |f| | |
- if user.errors.any? | |
.error_messages | |
Form is invalid | |
%ul | |
- for message in user.errors.full_messages | |
%li= message | |
.clearfix | |
= f.label :username | |
.input= f.text_field :username | |
.clearfix | |
= f.label :email | |
.input= f.text_field :email | |
.clearfix | |
= f.label :password | |
.input= f.password_field :password | |
.clearfix | |
= f.label :password_confirmation | |
.input= f.password_field :password_confirmation | |
.clearfix{:style => 'text-align: center; display: inline-block;'} | |
= f.label :recaptcha | |
.input= raw recaptcha_tags | |
.clearfix | |
= f.check_box :terms_of_service | |
I accept the terms of service. | |
.actions | |
= f.submit :class => 'btn primary', :value => 'Sign up' | |
= link_to 'Or sign in with services like Facebook', '/login' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment