This project is archived and is in readonly mode.
Factor out hardcoded style in form div wrapping hidden inputs
-
Victor Costan
Patch containing code and tests. Applies cleanly against Rails 3 edge. The method name (hidden_field_wrapper_tag) might not be the best option, I can change it to whatever people think would work.
-
Victor Costan
- Tag changed from actionview, rails3 to actionview, patch, rails3
-
Dan Pickett
- Tag changed from actionview, patch, rails3 to actionview, bugmash, patch, rails3
-
Jeff Kreeftmeijer
+1
Applies to master cleanly and tests pass. Looks a lot cleaner. :)
-
Anil Wadghule
+1 Looks fine.
-
PacoGuzman
+1 All test pass, looks fine
-
Casey Dreier
+1 No problems applying patch. All tests pass.
-
Wijnand Wiersma
+1 Works fine.
-
Santiago Pastorino
I know that naming are one of the most difficult things in programming but def test doesn't seem to be right :), make an effort, don't be lazy like me :P
-
Santiago Pastorino
- State changed from new to wontfix
Sorry this is not going to be fixed, don't worth changing the API for this, you can MonkeyPatch, thanks.
-
Victor Costan
- Assigned user set to Santiago Pastorino
I thought that Rails 3 is trying to move towards having a clean API for plugins.
I'm sorry for "def test"... I did that patch at 5am... I have no other explanation for how that got in there! I totally meant test_hidden_field_wrapper_tag!
Can you please reconsider if I send in an updated patch?
-
Victor Costan
Updated patch.
