CodeStyle in frontend templates.
Closes #3784, Closes #3783, Closes #3782