Combine load tags, fix indentation

This commit is contained in:
Audrey Roy Greenfeld 2016-09-09 16:29:18 -07:00 committed by GitHub
parent 984e23270d
commit 8bbf83d3d7

View File

@ -1,5 +1,5 @@
{% raw %}{% extends "base.html" %}
{% load static %}{% load i18n %}
{% load static i18n %}
{% block title %}Members{% endblock %}
{% block content %}
@ -9,12 +9,11 @@
<h2>Users</h2>
<div class="list-group">
{% for user in user_list %}
<a href="{% url 'users:detail' user.username %}" class="list-group-item">
<h4 class="list-group-item-heading">{{ user.username }}</h4>
</a>
{% endfor %}
{% for user in user_list %}
<a href="{% url 'users:detail' user.username %}" class="list-group-item">
<h4 class="list-group-item-heading">{{ user.username }}</h4>
</a>
{% endfor %}
</div>
</div>