Fixed syntax error for new post page