Hi all,
I have the following code in my application layout:
<%= link_to_function “Sign in”,
“$(‘signin’).toggle();$(‘signin_link’).toggle()”,
:id => “signin_link” %>
<%= form_tag login_path, {:id => "signin"}, {:style =>"display:
none"} %>
Log In<%= text_field_tag ‘login’ %>
Password<%= password_field_tag ‘password’ %>
<%= submit_tag ‘Sign In’ %>
<% end %>
<% end %>
and for some reason it complains about the <% end %> tag corresponding
to the form_tag with this message -> syntax error, unexpected kEND,
expecting $end
If I replace the second <% end %> with It works fine.
Any ideas what the heck is going on here?
Thanks,
steve