Add Error Messages

yes i had it there originially but I want these flashes to render inside of the form not at the top of the page. is there another way to do that by putting it in the application layout instead of the form_for?