{% extends BASE_TEMPLATE %}
{% load i18n %}

{% block content %}

	<h2>{% trans "By category" %}</h2>
	{% for one in object_list %}
		<div class="row">
			<a>
				<div class="span4">
					<h3>{{ one.title }}</h3>
				</div>
			</a>
		</div>
	{% endfor %}


	{% if is_paginated %}
		<div class="pagination">
			<ul>
				{% for num in paginator.page_range %}
					{% if num == page_obj.number %}
						<li class="disabled">
							<span class="current page">{{ num }}</span>

							{% else %}
						<li>
						<a href="?page={{ num }}"> {{ num }}</a>
					{% endif %}

				</li>
				{% endfor %}
			</ul>
		</div>
	{% endif %}
{% endblock %}
