Commit 1028479c authored by David Haynes's avatar David Haynes 🙆

Template Edge Case Issue w/ Spacing

parent e6db72f8
...@@ -26,6 +26,11 @@ ...@@ -26,6 +26,11 @@
</div> </div>
{% empty %} {% empty %}
<h4>There are no other students registered in your room right now.</h4> <h4>There are no other students registered in your room right now.</h4>
{% if forloop.counter|divisibleby:4 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
...@@ -47,6 +52,11 @@ ...@@ -47,6 +52,11 @@
</div> </div>
{% empty %} {% empty %}
<h4>There are no other students registered on your floor right now.</h4> <h4>There are no other students registered on your floor right now.</h4>
{% if forloop.counter|divisibleby:4 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
...@@ -70,6 +80,11 @@ ...@@ -70,6 +80,11 @@
</div> </div>
{% empty %} {% empty %}
<h4>There are no other students registered in your major right now.</h4> <h4>There are no other students registered in your major right now.</h4>
{% if forloop.counter|divisibleby:4 %}
</div>
<br />
<div class="row">
{% endif %}
{% endfor %} {% endfor %}
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment