Fix view syntax for editing posts