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

{% block content %}
	<div class="panel panel-default">

		<div class="panel-heading"><h4>Lista wszystkich kategorii</h4></div>
		<div class="panel-body">
			<a href="{{ path('shop_main_categories_create') }}" class="btn btn-primary" role="button">Dodaj kategorię</a>
		</div>


		{#<!-- Table -->#}
		<table   class="table table-striped table-bordered"   >

			<tr>

				<td><b>No.</b></td>
				<td><b>Kategoria</b></td>
				<td><b>Edycja</b></td>

			</tr>
			{% for item in movies %}
				<tr>
					<td style="width: 70px">{{ loop.index }}</td>
					<td>{{ item.name }}</td>
					<td style="width: 80px">
						<a href="{{ path('shop_main_categories_edit', {'id': item.id }) }}" class="btn btn-primary btn-sm" role="button">Edytuj</a>
					</td>
				</tr>
			{% endfor %}
		</table>
		<br/>
	</div>
{% endblock %}<commit_msg>Update index.html.twig<commit_after>{% extends 'ShopMainBundle::layout.html.twig' %}

{% block content %}
	<div class="panel panel-default">

		<div class="panel-heading"><h4>Lista wszystkich kategorii</h4></div>
		<div class="panel-body">
			<a href="{{ path('shop_main_categories_create') }}" class="btn btn-primary" role="button">Dodaj kategorię</a>
		</div>


		{#<!-- Table -->#}
		<table   class="table table-striped table-bordered"   >

			<tr>

				<td><b>No.</b></td>
				<td><b>Kategoria</b></td>
				<td><b>Edycja</b></td>

			</tr>
			{% for item in movies %}
				<tr>
					<td style="width: 70px">{{ loop.index }}</td>
					<td>{{ item.name }}</td>
					<td style="width: 80px">
						<a href="{{ path('shop_main_categories_edit', {'id': item.id }) }}" class="btn btn-primary btn-sm" role="button">Edytuj</a>
					</td>
				</tr>
			{% endfor %}
		</table>
	</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.2382286995515695, 'fraction_numerical': 0.006726457399103139, 'mean_word_length': 3.385749385749386, 'pattern_counts': {'":': 0, '<': 78, '<?xml version=': 0, '>': 78, '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': '136121', 'n_tokens_mistral': 828, 'n_tokens_neox': 686, 'n_words': 128}