rewrote the form in HAML