problems with conversion haml to html / erb

1

Hello. I have the following snippet in haml:

 %a.btn.btn-small.notes_campaign{:role => "button", :data => {:campaign_group_id => campaign_group.id}}
   %i.icon-tasks
   Notes

And you'd get to pass it on to erb. My problem is in this date pass, used later in an ajax request. I've tried it in different ways.

Has anyone ever been through this?

    
asked by anonymous 26.03.2016 / 05:40

0 answers