When a user goes to edit their post the current post attributes are populated in the form