mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 16:24:14 +03:00
Fix user_list.html
This commit is contained in:
parent
1d194d0e12
commit
88188812a1
|
@ -1,4 +1,4 @@
|
|||
{% raw %}{% extends "base.html" %}
|
||||
{% extends "base.html" %}
|
||||
{% load static %}{% load i18n %}
|
||||
{% block title %}Members{% endblock %}
|
||||
|
||||
|
@ -6,26 +6,15 @@
|
|||
|
||||
<div class="container">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<h2>Users</h2>
|
||||
<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 %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<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>
|
||||
<p class="list-group-item-text">{{ maker.tagline }}</p>
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock content %}{% endraw %}
|
||||
{% endblock content %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user