Skip to content

Commit b8487ee

Browse files
authored
Merge pull request #142 from julianfssen/update-data-turbo-method-docs
Remove disclaimer for `data-turbo-method` not working in forms
2 parents 45df8b8 + a7ddd36 commit b8487ee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_source/handbook/02_drive.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@ By default, link clicks send a `GET` request to your server. But you can change
134134
<a href="/articles/54" data-turbo-method="delete">Delete the article</a>
135135
```
136136

137-
The link will get converted into a hidden form next to the `a` element in the DOM. This means that the link can't appear inside another form, as you can't have nested forms.
138-
139-
You should also consider that for accessibility reasons, it's better to use actual forms and buttons for anything that's not a GET.
137+
You should consider that for accessibility reasons, it's better to use actual forms and buttons for anything that's not a GET.
140138

141139
## Requiring Confirmation for a Visit
142140

0 commit comments

Comments
 (0)