Hi!

Today I found Haml & Sass and I really like it!

I played around with it and read the documentation but there are some
things I did not find out how to solve them and I even bought the
peepcode screencast and watched it.

One major issue is the produced code. HTML is absolutely fine but when
I switched to the source view the code is not formated like I want it
to. As I said I read the documentation and so I know about the < and >
commands but how do I use them together with rails tags in a template.

For example:

- for sizes in @product.product_sizes
  =h sizes.name
  %br

I would like to see the br-tag behind every name in the source view.

name 1<br />
name 2<br />
name 3<br />

How can I do that?

Many thanks for every answer.

Regards,
Stefan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to