Skip to content

Support for data-* passthrough in data-method=delete #189

Open
@ahutch

Description

@ahutch

In order to support a restful delete rails turns a link with data-method=delete into a form with an input _method=delete. When using additional frameworks such as jquery-mobile links and forms carry other data to control the behavior. (data-ajax=false).

The data from the link (data-ajax=false) is not copied/carried across to the form meaning that the other frameworks will not process the form as specified by the link. Is it possible to add a mechanism in which the form inherits data-* from a link.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions