Open mvitz opened 9 years ago
We are currently using multiple forms with DELETE action on a single page. These forms are generated with: (form-to [:delete "/route"])
(form-to [:delete "/route"])
This generates a hidden field with id=_method for each form but HTML requires that any ID must be unique on the complete page.
Ring works even when the input field contains only a name=_method.
Any thoughts on this? If it is acceptable for you to not generate an ID for the hidden _method field I would create a PR.
We are currently using multiple forms with DELETE action on a single page. These forms are generated with:
(form-to [:delete "/route"])
This generates a hidden field with id=_method for each form but HTML requires that any ID must be unique on the complete page.
Ring works even when the input field contains only a name=_method.