-- in --
package test

templ conditionalAttributes(addClass bool) {
	<div id="conditional"
if addClass {
class="itWasTrue"
} else {
	class="itWasNotTrue"
}
width="300">Content</div>
}
-- out --
package test

templ conditionalAttributes(addClass bool) {
	<div
		id="conditional"
		if addClass {
			class="itWasTrue"
		} else {
			class="itWasNotTrue"
		}
		width="300"
	>Content</div>
}
