Update forms.rst

Accessing form values via `vars` property instead of getter. Updated PHP templating examples.
merge