Move forum helpers into separated file
Small refactor for forum post partial.