template improvements, multi line attributes