<commit_before>{% extends '::base_admin.html.twig' %}

{% block body -%}
	<h1 class="page-header">Movies</h1>
	<a class="btn btn-primary" href="{{ path('admin_movie_new') }}">
		New Movie
	</a>
	<a class="" href="{{ path('admin_movie_export') }}">Export</a>
	<table class="records_list table table-striped table-condensed">
		<thead>
			<tr>
				<th>#</th>
				<th>Title</th>
				<th>Description</th>
				<th>Actions</th>
			</tr>
		</thead>
		<tbody>
		{% for entity in entities %}
			<tr>
				<td><a href="{{ path('admin_movie_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
				<td>{{ entity.title }}</td>
				<td>{{ entity.description }}</td>
				<td>
				<a class="btn btn-default btn-xs btn-info" href="{{ path('admin_movie_edit', { 'id': entity.id }) }}">
				edit</a>
				<a class="btn btn-default btn-xs btn-success" href="{{ path('admin_movie_show', { 'id': entity.id }) }}">show</a>
				<a class="btn btn-default btn-xs btn-danger" href="{{ path('admin_movie_delete', { 'id': entity.id }) }}">delete</a>
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	<div class="registers">
		{{ entities.getTotalItemCount }} registers found
	</div>
	<div class="navigation">
		{{ knp_pagination_render(entities) }}<commit_msg>[Movies] Sortable knp pagination<commit_after>{% extends '::base_admin.html.twig' %}

{% block body -%}
	<h1 class="page-header">Movies</h1>
	<a class="btn btn-primary" href="{{ path('admin_movie_new') }}">
		New Movie
	</a>
	<a class="" href="{{ path('admin_movie_export') }}">Export</a>
	<table class="records_list table table-striped table-condensed">
		<thead>
			<tr>
				<th>#</th>
				<th>{{ knp_pagination_sortable(entities, 'Title', 'a.title' )|raw }}</th>
				<th>Description</th>
				<th>Actions</th>
			</tr>
		</thead>
		<tbody>
		{% for entity in entities %}
			<tr>
				<td><a href="{{ path('admin_movie_show', { 'id': entity.id }) }}">{{ entity.id }}</a></td>
				<td>{{ entity.title }}</td>
				<td>{{ entity.description }}</td>
				<td>
				<a class="btn btn-default btn-xs btn-info" href="{{ path('admin_movie_edit', { 'id': entity.id }) }}">
				edit</a>
				<a class="btn btn-default btn-xs btn-success" href="{{ path('admin_movie_show', { 'id': entity.id }) }}">show</a>
				<a class="btn btn-default btn-xs btn-danger" href="{{ path('admin_movie_delete', { 'id': entity.id }) }}">delete</a>
				</td>
			</tr>
		{% endfor %}
		</tbody>
	</table>
	<div class="registers">
		{{ entities.getTotalItemCount }} registers found
	</div>
	<div class="navigation">
		{{ knp_pagination_render(entities) }}
{'fraction_non_alphanumeric': 0.2361219702892885, 'fraction_numerical': 0.001563721657544957, 'mean_word_length': 3.921153846153846, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5998269', 'n_tokens_mistral': 1098, 'n_tokens_neox': 949, 'n_words': 202}