docs(guide/forms): code style changes for an example

Closes #5499