{% if rankable and pager|length %}
<form id="rank-form" action="{{ path(route_prefix ~ 'rank') }}">
{{ form_rest(form_rank) }}
</form>
<script type="text/javascript">
crud_sortable({{ pager.currentPage }});
</script>
{% endif %}