Form tags are already generated by the exp:weblog:entry_form tag
Secondly, if the template you’re “returning” to has a weblog:entries loop on it (to display the updated entry), make sure you make this revision as well:
Line 36 - Add /{entry_id} to your return parameter