I have a login form on the left side of a page.
The user can always log in at any time this way.
when they do I use redirect :back as an easy way to get back to the page
they were viewing before they attempted to log in.
Problem I am having is that if they make an error when logging in and I
redirect them back the username won't show up because of the redirect.
Is there an Rails way of getting the username to show up in the form so
they can correct any typos.
The password field being empty works well in this case.
Thank you in advance.