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

{% block content %}
<div class='container newslist mt-5'>
  <h1>{{rubrique.name}}</h1>
  	<div class="my-3 p-3 bg-white rounded box-shadow">
		<p>{{rubrique.content|raw}}</p>
		<h3>{{ 'Prestataires'|trans }} : </h3>
		{% for prestataire in rubrique.prestataires %}
	       <div class="my-3 p-3 bg-grey rounded box-shadow">
	        <span><a href="{{ path('show_prestataire', {'slug': prestataire.slug}) }}">{{prestataire.raison}}</a></span>
	       </div>
	    {% endfor %}
	</div>
</div>
{% endblock %}
