I'm trying to modify some HAML code and would like to output two different variables on the same line. How can I achieve this?
%h3= @level.name " $" @level.price
Ideally, I want the output to be in this format: Individual $35
Any help would be greatly appreciated.
Thanks!
%h3= "#{@level.name} $#{@level.price}"
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