{% extends 'common/layout.html.twig' %}

{% block content %}
<div class='container prestalist mt-5'>
   <h1>{{type}} :</h1>
    <div class="row">
    {% for presta in prestas %}
	    <div class="col-12 col-md-6 mb-2">
	    	{% include 'presta/onepresta.html.twig' %}
		</div>
		{% if loop.index%2 == 0 %}
			</div>
			<div class="row">
		{% endif %}
    {% endfor %}
	</div>
</div>
{% endblock %}
