[Form] Add a 'submitted' attribute to the form view
Merge pull request #3029 from egeloen/f-valid-form-view

[Form] Add a 'submitted' attribute to the form view