I’m trying to use haml in my locale files but cant get it to parse.
en.yml
page:
content: "
%p
some paragraph
%p
another paragraph
"
view.html.haml
------------------- (works)
=Haml::Engine.new(t('page.content)).render
-------------------(does not)
=t('page.content)
is the first example the only way to do this?
or am I going about this all wrong?
–
Rob A.
http://robaldred.co.uk