I use HAML in my rails project for my html templates. I would like to figure out if its possible to divide a very long line and make it a couple of rows:
%a.
New lines can be placed after commas, according to the Haml documentation. So, perhaps something like the following would work:
%a.open-service{href: '#',
data: { service_name: service.description,
balance_type: "coinsurance",
total: service.a_total_billed - service.a_rejected - service.a_not_covered,
discount: service} }