Updated New and Edit views as well as Posts controller