Add missing ->end() call in form