-
Notifications
You must be signed in to change notification settings - Fork 353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to create radio button without label? #161
Comments
@akolomiychuk I would like your monkey patch code for the |
Got the same issue: = f.form_group :active, label: { text: 'Active' } do
= f.check_box :active, hide_label: true Give me this: But I expected this: @akolomiychuk I would be happy to see this PR. But why not using the |
I agree, I would rather have @soullivaneuh on a side note, why does it say "1/12 tasks complete" under your referenced pull request? How do you enable tasks? |
@onebree please take a look at this blog post: https://github.com/blog/1825-task-lists-in-all-markdown-documents 👍 |
Okay, I have tried that in an opened issue on our app, but it was not read-only. (And this was a few weeks ago). It doesn't look like the read-only format has changed at all... ALSO, does the "tasks complete" thing only appear for PR, versus issues? |
It's not read only if you are the issue owner, or project owner maybe. For the other, it's read only. |
Actually we can access default rails form builder helper using: f.radio_button_without_bootstrap(:solution, i) Also using |
@akolomiychuk Stop me if I'm wrong but it's just a workaround, isn't it? With your method, we don't use bootstrap-forms at all, what is the advantage? Thanks |
There is a 2 methods actually:
So there is no issue with bootstrap-forms. |
@akolomiychuk As noted on the bootstrap site, saying |
@onebree I think you're right. Have to test it again later. |
I want to achieve this html using form_builder
with following code
But seems that radio button cannot be created without label. I tested it on version
2.1.1
, but seems that this is actual for currentmaster
too.I already monkey-patched it locally(added
no_label: true
option), so I can create a PR if you approve that this is a feature which you want to have.The text was updated successfully, but these errors were encountered: