<% content_for :js do %> $(function(){ $('button.login').button().click(function(){window.location=$(this).attr('href')}); }); <% end %>

Error

Sorry, something went wrong logging you in. Please try again.

Log in here.