Refactored posts using partial form