li = link_to 'Account', '#account', data: { toggle: 'tab' }
I need span tags around 'Account'.
You can also use a block if you find that you have more complex code inside the link text than just a span tag:
li = link_to '#account', data: {toggle: 'tab'} do
span
= "Account"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With