templates/entreprise/offre_emploi.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block contenu_propre %}
  3.     <br/>
  4.     {% if  is_granted('ROLE_ADMIN') %}
  5.     <a class="btn-primary" href="{{ path('nouvelle_offre_emploi') }}">Nouvelle offre</a>
  6.     <p>
  7.         
  8.     <a class="btn-secondary" href="{{ path('requete_contact') }}">RequĂȘte entreprise</a>
  9.     </p>
  10.     {% endif %}
  11.     <div class="container">
  12.         {% for offre in offres %}
  13.          <div class="row">
  14.             <div class="col-md-12">
  15.                 <h1><a href="{{ path('afficher_offre_emploi', {'slug': offre.slug}) }}">{{ offre.titre }}</a></h1>
  16.                 <hr/>
  17.             </div>
  18.          </div>
  19.         {% endfor %}
  20.     </div>
  21.        
  22. {% endblock contenu_propre %}