diff --git a/pagure/templates/repo_branches.html b/pagure/templates/repo_branches.html
index 55698f5..0f7de20 100644
--- a/pagure/templates/repo_branches.html
+++ b/pagure/templates/repo_branches.html
@@ -14,96 +14,96 @@
Branches {{g.branches|length}}
- {% if head %}
-
+ {% if head %}
+
+ {% endif %}
+
+ {% for branch in g.branches if branch != head %}
+
- {% endif %}
-
- {% for branch in g.branches if branch != head %}
-
-
-
-
-
-
- {% if g.repo_committer and branch != head
- and (
- config.get('ALLOW_DELETE_BRANCH', True)
- or repo.is_fork) %}
-
- {% endif %}
+
+
+
+ {% if g.repo_committer and branch != head
+ and (
+ config.get('ALLOW_DELETE_BRANCH', True)
+ or repo.is_fork) %}
+
+ {% endif %}
- {% endfor %}
+ {% endfor %}
+
{% endblock %}