Wrappers & Labels #39
Replies: 1 comment
-
Google Group Date: Sun, 11 May 2014 09:44:36 -0700 On Sunday, May 11, 2014 12:14:09 AM UTC-7, Dave Howell wrote:
When using the :wrapper=>:trtd, you need to either use I'm not sure how you are trying to view the source, but if you don't use The trtd wrapper always puts the label on the left table cell and the other If you are only using a table for alignment purposes, you can use the Thanks, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Google Group Post: https://groups.google.com/g/ruby-forme/c/6bvjqVZal_E
Google Group Date: Sun, 11 May 2014 00:14:09 -0700
Google Group Sender: group...@grandfenwick.net
It appears that :label_position is disabled by :wrapper=>:trtd
This upset Forme rather a lot:
Setting the :trtd wrapper on just the :invoicedate caused Forme to generate all the non-trtd inputs, then create a table, then output the
tag, the :invoicedate input, some hidden tags, then , and thenThe :trtd wrapper in general has been extremely recalcitrant. It seems to have an implicit
command, despite its name, but where theI would expect, if
wraps the form in a table, that
would attach the wrapper attributes to that which wrapped the form, which is the table. This does not appear to be the case. The :wrapper_attr hash here appears to be ignored. If I use :wrapper_attr on an individual input, it attaches to the
tag. I would expect it to attach to the is admittedly probably more useful.results in
blahblahBeta Was this translation helpful? Give feedback.
All reactions