I've heard or read somewhere (can't recall where) that the spark view engine supports the notion of defining custom html tags. I would like to use this for rounded corners. Which in our HTML consist out of 6 different div's wrapped around the actual content. If I could replace this with or something like that it would make things much more readable. Is it correct that spark can do this? And if so how do I use this, is there some documentation for this?
+2
A:
Using a partial in Spark looks just like a custom HTML tag, but is really just a little syntactic sugar. Check this page out for more information.
LostInTangent
2009-10-18 01:06:56
Great just what I was looking for, didn't think of it as syntactic sugar but I guess it really is :)
olle
2009-10-18 10:56:18