Skip to content

Form inputs can use the form attribute too#377

Merged
lucasmazza merged 2 commits intorails:masterfrom
marnen:more-form-inputs
Jul 8, 2014
Merged

Form inputs can use the form attribute too#377
lucasmazza merged 2 commits intorails:masterfrom
marnen:more-form-inputs

Conversation

@marnen
Copy link
Contributor

@marnen marnen commented Jun 9, 2014

This should fix #376 by ensuring that form inputs are selected even if they're not within a <form> element, as long as they refer to one with the form attribute.

@marnen
Copy link
Contributor Author

marnen commented Jul 8, 2014

Do you need anything further to merge this request?

@rafaelfranca
Copy link
Member

I think we would need tests.

@marnen
Copy link
Contributor Author

marnen commented Jul 8, 2014

@rafaelfranca I actually didn't realize this project even had a test suite, and I wish you'd told me sooner that you needed tests. Let me see what I can do...

@marnen
Copy link
Contributor Author

marnen commented Jul 8, 2014

@rafaelfranca I added a test case. Is this suitable, or do you need more?

@rafaelfranca
Copy link
Member

@lucasmazza WDYT?

lucasmazza added a commit that referenced this pull request Jul 8, 2014
Form inputs can use the form attribute too
@lucasmazza lucasmazza merged commit 0c1aa10 into rails:master Jul 8, 2014
@marnen
Copy link
Contributor Author

marnen commented Jul 8, 2014

Great, thanks!

@marnen marnen deleted the more-form-inputs branch August 5, 2019 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Button confirmations don't work when button is outside form

3 participants