Updated the controller with conditionals based on the saving of data
Added the rendering of an error partial to the form partial