Fixed forum post-form rendering and simplified the code