Not sure if any of you came across this issue yet, but when you are using <a href=> links to navigate with Turbo, it keeps on adding FORM elements at the bottom of the page.
For example.
<a href='/feedback/new' data-method="get">Send Feedback</a>
Click on this link will add the following tag
<form method="post" action="http://localhost:3000/feedback/new" target="" style="display: none;"><input name="_method" value="get" type="hidden"><input name="authenticity_token" value="v1UkhmdAujuI0tWj4ws5t549WOmkc9mFZu7aQeoktS0bZwt07yEKQ9QwqOZ3-sf33plwGsmdii7nXZICR4xjbA" type="hidden"><input type="submit"></form>
Click on that link again, will add another one, ad infinitum.
I am guessing it’s a bug in Turbo. It should clean up these forms.
For now here’s the work around (using jQuery for simplicity)
$(document).on("turbo:submit-end", function(event){
event.detail.formSubmission.formElement.remove()
})