This project is archived and is in readonly mode.
form authentication interfering with page layout
-
Rick
- State changed from new to open
Should there be a global rails namespace for rails-generated classes? "hidden" seems like it'd be a pretty common class.
rails-hidden-inputs? -
Kevin Chiu
That would work. As a side benefit, it would also help people looking over
output code understand what is generated by Rails and what is not.
On Tue, Jul 15, 2008 at 7:58 PM, Lighthouse
wrote:
-
Rune Botten
- Tag changed from 2.1, bug to 2.1, actionpack, enhancement, patch, tested, tests
Implementet this. Wrapping div gets class 'rails-hidden-inputs' when an element has type="hidden". If my implementation is too shady, there is at least updated tests for the div class.
-
Rune Botten
Namespacing, in the pure sense, went out the window, since all hidden elements get tagged with rails-hidden-*inputs*. But as far as I can see, all hidden elements generated by rails are input fields. As least as far as the tests go. Its a hack, I know. I needed something bite-size to poke my fingers at.
