Update new and create posts and fix styling
Add edit and update actions and style flash messages