Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove disclaimer for data-turbo-method not working in forms #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions _source/handbook/02_drive.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,7 @@ By default, link clicks send a `GET` request to your server. But you can change
<a href="/articles/54" data-turbo-method="delete">Delete the article</a>
```

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.

You should also consider that for accessibility reasons, it's better to use actual forms and buttons for anything that's not a GET.
You should consider that for accessibility reasons, it's better to use actual forms and buttons for anything that's not a GET.

## Requiring Confirmation for a Visit

Expand Down