view for editing posts