Replies: 3 comments 8 replies
-
Can you please post an example with the code you have and the HTML you want to generate? |
Beta Was this translation helpful? Give feedback.
-
To add options on individual checkboxes, you include the options as a hash for option's value (the value is in the :value key): https://github.com/jeremyevans/forme/blob/master/spec/forme_spec.rb#L540 There currently isn't support for adding the same attributes to each checkbox in a single place. If this is a styling issue, add a class to the wrapper and style using the appropriate CSS rules. |
Beta Was this translation helpful? Give feedback.
-
If you already have a input with |
Beta Was this translation helpful? Give feedback.
-
Hi there!
Once again with a doubt. I checked the spec but I couldn't find anything about this: I'd like to wrap every
checkboxset
option without the generallabel
to make a grid-like ordering of them.wrapper
is not an option, because it takes the label into account.tag_wrapper
isn't also helpful, because it only wraps each given option and is already used for styling. So what would be the correct way to do it (if it can be done, of course)?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions