created partial for the forms to be used on both new and edit paths, also created destroy button for posts