Well,
Juliano, it’s not easy to help you: you should provide more information.
From the HTML you provided a couple of weeks ago, there is no reason why these radio button should not be in line.
Unless otherwise specified in the CSS, inline element do not show on different lines, unless they reach the end of the line.
Maybe the display property of one of these items has been set to display: block somewhere in the CSS.
It might be easier to help you if you provide:
1. the code you use for the rails helper;
2. the resulting html (you’ve already done it);
3. the resulting css.
Also, how did you configure this line in the simple_form.rb initializer
# Define the way to render check boxes / radio buttons with labels.
# Defaults to :nested for bootstrap config.
# inline: input + label
# nested: label > input
config.boolean_style = :nested
<%= a.input :user_rating,
as: :radio_buttons,
boolean_style: :inline,
collection: (user_rating_option_array),
label: t( :long_question, scope: [:tests_questions, :"question_#{a.index + 1}"], default: "#{@tests.fetch(a.index).test_long_question}"),
label_html: {
class: "block"
},
wrapper_html: {
class: "text-center my-rating-wrapper"
},
item_wrapper_class: "inline-block",
input_html: {
class: "rating-input"
},
checked: params[:action] == 'show' && params[:controller] == 'firms' ? 3 : nil
%>
Did you properly define your inline-block class in the CSS?
From what I see on the screenshot you provided, it seems that you might also have an issue with the main label