Trying to achieve a row column layout with batch
I think you're getting your variable names mixed up. Something like this should work:

{% for row in entry.content1|batch(2) %}
&lt;div class="row"&gt;
   {% for block in row %}
   &lt;div class="col-sm-6"&gt;Content&lt;/div&gt;
   {% endfor %}
&lt;/div&gt;
{% endfor %}


I've changed the name of the first block to row.