Commit 53617406 authored by dj3c1t's avatar dj3c1t

fix author list

parent 652e3b99
......@@ -17,7 +17,7 @@ class AuthorController extends Controller {
$authors = $this->get('knp_paginator')->paginate(
$query,
$request->query->getInt('page', 1),
10
12
);
return $this->render(
'Dj3c1tSourceMLBundle:Source:Author/index.html.twig',
......
......@@ -9,6 +9,7 @@
{{ parent() }}
{% if authors|length > 0 %}
<div class="row">
<ul class="authors_list">
{% for author in authors %}
......@@ -38,6 +39,7 @@
{% endfor %}
</ul>
</div>
<div class="navigation">
{{ knp_pagination_render(authors) }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment