Created
May 23, 2011 21:12
-
-
Save nakajima/987625 to your computer and use it in GitHub Desktop.
bizarre syntax error in staging but not in develompent
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
| - if user_signed_in? | |
| Welcome, #{link_to current_user.first_name, user_path(current_user)} | |
| = link_to "Sign out", logout_path | |
| - else | |
| = form_for :user, :url => login_path do |f| | |
| = f.label :email | |
| = f.text_field :email | |
| %br | |
| = f.label :password | |
| = f.password_field :password | |
| %br | |
| = submit_tag 'Log in' |
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
| - if user_signed_in? | |
| Welcome, #{link_to current_user.first_name, user_path(current_user)} | |
| = link_to "Sign out", logout_path | |
| - else | |
| = form_for :user, :url => login_path do |f| | |
| = f.label :email | |
| = f.text_field :email | |
| %br | |
| = f.label :password | |
| = f.password_field :password | |
| %br | |
| = submit_tag 'Log in' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment