I have the following code
div class = "content"
- for x in list
-if x == "test"
div id = "two"
I would expect div id = "two to be nested within div class="content however it appears as its own separate div. How would I go about nesting the div within the content div based on the conditional?