How to make a line break in Active Admin :hint?

Use Active Admin gem 2.
You need to do hint under the input field was on two lines.
Code
f.inputs("About") do
 f.input :title, hint => "first line second line"
 f.input :label
 end

The result
5cfa42fe80ea0760043656.png

It is necessary that God first line and second line are on different lines.
March 23rd 20 at 19:31
1 answer
March 23rd 20 at 19:33
Solution
Not sure about 100% faithfulness and accuracy of this method, but you can try this:

hint: simple_format("First line \n second line", html_options = { class: 'inline-hints'} )


the class needs optionally, if you want to keep the default style asset administrator. About simple_format much detail to read here

Find more questions by tags Ruby on Rails