From bf4b9e9d32f7c6c94b489335a2eecfedc367d239 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tobias=20J=C3=BClg?= <tobias.juelg@tum.de>
Date: Sat, 7 May 2022 15:44:28 +0200
Subject: [PATCH] Indented for loops in templates

---
 vote/templates/vote/index.html     | 10 +++++-----
 vote/templates/vote/spectator.html | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/vote/templates/vote/index.html b/vote/templates/vote/index.html
index 30bd8a6..efbf25e 100644
--- a/vote/templates/vote/index.html
+++ b/vote/templates/vote/index.html
@@ -9,7 +9,7 @@
       <div class="card-body">
         <h4 class="text-center d-inline">{{ title }}</h4>
         {% if meeting_link %}
-        <div><small>Meeting at <a href="{{ meeting_link }}">{{ meeting_link }}</a></small></div>
+          <div><small>Meeting at <a href="{{ meeting_link }}">{{ meeting_link }}</a></small></div>
         {% endif %}
       </div>
     </div>
@@ -25,7 +25,7 @@
         </div>
         <div class="card-body">
           {% for election, can_vote, edit in open_elections %}
-          {% include 'vote/index_election_item.html' %}
+            {% include 'vote/index_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -37,7 +37,7 @@
         </div>
         <div class="card-body">
           {% for election, can_vote, edit in upcoming_elections %}
-          {% include 'vote/index_election_item.html' %}
+            {% include 'vote/index_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -49,7 +49,7 @@
         </div>
         <div class="card-body">
           {% for election, can_vote, edit in published_elections %}
-          {% include 'vote/index_election_item.html' %}
+            {% include 'vote/index_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -61,7 +61,7 @@
         </div>
         <div class="card-body">
           {% for election, can_vote, edit in closed_elections %}
-          {% include 'vote/index_election_item.html' %}
+            {% include 'vote/index_election_item.html' %}
           {% endfor %}
         </div>
       </div>
diff --git a/vote/templates/vote/spectator.html b/vote/templates/vote/spectator.html
index 2c8accf..d026cfa 100644
--- a/vote/templates/vote/spectator.html
+++ b/vote/templates/vote/spectator.html
@@ -10,7 +10,7 @@
       <div class="card-body">
         <h4 class="text-center d-inline">{{ title }} - Spectator View</h4>
         {% if meeting_link %}
-        <div><small>Meeting at <a href="{{ meeting_link }}">{{ meeting_link }}</a></small></div>
+          <div><small>Meeting at <a href="{{ meeting_link }}">{{ meeting_link }}</a></small></div>
         {% endif %}
       </div>
     </div>
@@ -26,7 +26,7 @@
         </div>
         <div class="card-body">
           {% for election in open_elections %}
-          {% include 'vote/spectator_election_item.html' %}
+            {% include 'vote/spectator_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -38,7 +38,7 @@
         </div>
         <div class="card-body">
           {% for election in upcoming_elections %}
-          {% include 'vote/spectator_election_item.html' %}
+            {% include 'vote/spectator_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -50,7 +50,7 @@
         </div>
         <div class="card-body">
           {% for election in published_elections %}
-          {% include 'vote/spectator_election_item.html' %}
+            {% include 'vote/spectator_election_item.html' %}
           {% endfor %}
         </div>
       </div>
@@ -62,7 +62,7 @@
         </div>
         <div class="card-body">
           {% for election in closed_elections %}
-          {% include 'vote/spectator_election_item.html' %}
+            {% include 'vote/spectator_election_item.html' %}
           {% endfor %}
         </div>
       </div>
-- 
GitLab