Updated edit.html.erb with error messages if any