Added edit and update actions to post controller, created form partial