fix attribute names on form, ensure haml modal