I’m banging my head against the wall. I can’t figure out a working example for HAML. I only see ERB examples.
I want to wrap a div and all it’s contents in a link_to
I’ve tried this and it crashes middleman.
= link_to “path/to/page.html” do
Other page
%span.icon Arrow
Any working examples? Or alternative to dynamic URLs wrapping elements on the page? I need a large click area.