Created form views for creating and editing posts