Fixed the form issue

The problem with this is that you were adding an empty form tag which I removed, and also adding inside of it a rail's form_tag which caused a conflict. Empty form tags like the one you had first redirect and do a GET to the current page you are on.