Update FormHelper.php

A pull request for #4410.
Why not move the template name calculation into these methods as well?