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

{% block stylesheets %}
	<link href="{{ asset('css/shop/homepage.css') }}" rel="stylesheet">
{% endblock %}
	{% block content %}
    <div class="container">
        {% if listCollection is empty %}
        <div class="row">
            <div class="col-lg-12">
                <h3>Collection inexistante</h3>
            </div>
        </div>
        {% else %}
            {# Loop on all collections #}
            {% for Collection in listCollection %}
                <div class="row">
                    <div class="col-lg-12">
                        <h3>{{ Collection.name }}</h3>
                    </div>
                </div>
                <!-- /.row -->
                <!-- Page Features -->
                <div class="row text-center">
                {# Set the current iteration of the loop #}
                {% set i = loop.index - 1 %}
                    {# Loop on all weapons #}
                    {% for Weapons in listWeapons[i] %}
                    <div class="col-md-3 col-sm-6 hero-feature">
                        <div class="thumbnail">
                            <img class="imageShop" src="{{ asset('img/placeholder.png') }}" alt="">
                            <div class="caption">
                                <h3><a href="#">{{ Weapons.name }}</a></h3>
                                <p>Quality : {{ Weapons.quality }}</p>
                                <p>
                                    <a href="#" class="btn btn-primary">Buy Now!</a> <a href="#" class="btn btn-default">More Info</a>
                                </p><commit_msg>Update Add to cart link<commit_after>{% extends 'ShopBundle::layout.html.twig' %}

{% block stylesheets %}
	<link href="{{ asset('css/shop/homepage.css') }}" rel="stylesheet">
{% endblock %}
	{% block content %}
    <div class="container">
        {% if listCollection is empty %}
        <div class="row">
            <div class="col-lg-12">
                <h3>Collection inexistante</h3>
            </div>
        </div>
        {% else %}
            {# Loop on all collections #}
            {% for Collection in listCollection %}
                <div class="row">
                    <div class="col-lg-12">
                        <h3>{{ Collection.name }}</h3>
                    </div>
                </div>
                <!-- /.row -->
                <!-- Page Features -->
                <div class="row text-center">
                {# Set the current iteration of the loop #}
                {% set i = loop.index - 1 %}
                    {# Loop on all weapons #}
                    {% for Weapon in listWeapons[i] %}
                    <div class="col-md-3 col-sm-6 hero-feature">
                        <div class="thumbnail">
                            <img class="imageShop" src="{{ asset('img/placeholder.png') }}" alt="">
                            <div class="caption">
                                <h3><a href="#">{{ Weapon.name }}</a></h3>
                                <p>Quality : {{ Weapon.quality }}</p>
                                <p>
                                    <a href="{{ path('cart_add',{'id' : Weapon.id }) }}" class="btn btn-primary">Buy Now!</a>
                                </p>
{'fraction_non_alphanumeric': 0.15918738629472406, 'fraction_numerical': 0.007883565797453002, 'mean_word_length': 1.1590314136125655, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 67, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7585706', 'n_tokens_mistral': 936, 'n_tokens_neox': 834, 'n_words': 202}