0

How can we give the user the ability to break-lines here?

<%= f.text_area :name, rows: 4, class: 'form-control', id: "gold-standard", placeholder: 'Enter Value' %>

Ideally only <br> would work out of the html elements, but worst case how can we permit all html elements, like <b>, <u>, etc?

For the latter case I tried using :name.html_safe or text_area.html_safe but those gave me errors. Thanks!

4

1 に答える 1