Search code examples
ruby-on-railsmarkaby

How to insert <br> in markaby (rails)


I have to do something like this

Freeze
2010-6-1

How can i write it in markaby? Now I have: td "#{user.username} #{user.created_at}"


Solution

  • And the correct answer is:

    td do
      text "#{user.username}"
      br
      text "#{user.created_at}"
    end