Fixed some form_for blocks and added a couple of .html_safes where needed