simple_format not styling

56 views
Skip to first unread message

fugee ohu

unread,
Dec 12, 2015, 2:53:38 PM12/12/15
to Ruby on Rails: Talk
i thought simple format was a nice little helper, better than writing a manual translate function to replace newlines with html <br>'s but the output of simple_format is unaffected by my css for the page How can I apply styling to simple_format ?

fugee ohu

unread,
Dec 12, 2015, 3:14:14 PM12/12/15
to Ruby on Rails: Talk
On Saturday, December 12, 2015 at 2:53:38 PM UTC-5, fugee ohu wrote:
i thought simple format was a nice little helper, better than writing a manual translate function to replace newlines with html <br>'s but the output of simple_format is unaffected by my css for the page How can I apply styling to simple_format ?

 Solved:
 simple_format(string, class='someclass')
Reply all
Reply to author
Forward
0 new messages