templates/front/formation_coaching/show.html.twig line 1

Open in your IDE?
  1. {% extends 'layouts/front.html.twig' %}
  2. {% block bodyClass %}interne{% endblock %}
  3. {% block content %}
  4.     <section class="title-page coach-page" style="background:url({{ asset('uploads/'~blocs.coaching_bloc_title.image) }})">
  5.         <div class="container">
  6.             <div class="row">
  7.                 <div class="head_page">
  8.                     <div class="head">  {{ blocs.coaching_bloc_title.title }} </div>
  9.                     <div class="sperateur"></div>
  10.                     <div class="sub_title"> {{ blocs.coaching_bloc_title.description|raw }}  </div>
  11.                 </div>
  12.                 <div class="arrows_head">
  13.                     <a href="#">
  14.                         <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"
  15.                              id="Layer_1" x="0px" y="0px" viewBox="0 0 492 492"
  16.                              style="enable-background:new 0 0 492 492;"
  17.                              xml:space="preserve" fill="#fff">
  18.                     <g>
  19.                         <g>
  20.                             <path xmlns="http://www.w3.org/2000/svg" fill=""
  21.                                   d="M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z"/>
  22.                         </g></svg>
  23.                     <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1"
  24.                          id="Layer_1" x="0px" y="0px" viewBox="0 0 492 492" style="enable-background:new 0 0 492 492;"
  25.                          xml:space="preserve" fill="#fff">
  26.                     <g>
  27.                         <g>
  28.                             <path xmlns="http://www.w3.org/2000/svg" fill=""
  29.                                   d="M198.608,246.104L382.664,62.04c5.068-5.056,7.856-11.816,7.856-19.024c0-7.212-2.788-13.968-7.856-19.032l-16.128-16.12    C361.476,2.792,354.712,0,347.504,0s-13.964,2.792-19.028,7.864L109.328,227.008c-5.084,5.08-7.868,11.868-7.848,19.084    c-0.02,7.248,2.76,14.028,7.848,19.112l218.944,218.932c5.064,5.072,11.82,7.864,19.032,7.864c7.208,0,13.964-2.792,19.032-7.864    l16.124-16.12c10.492-10.492,10.492-27.572,0-38.06L198.608,246.104z"/>
  30.                         </g></svg>
  31.                     </a>
  32.                 </div>
  33.             </div>
  34.         </div>
  35.     </section>
  36.     <section class="breadcumbs single_bread">
  37.         <div class="container">
  38.             <div class="row">
  39.                 <div class="crumbs"><a href="#"> Home </a> > <a href=""> Formations Coaching </a>
  40.                     > {{ formation.title }}</div>
  41.                 <div class="retour"><a href=""> Retour </a></div>
  42.             </div>
  43.         </div>
  44.     </section>
  45.     <section class="single_content">
  46.         <div class="container">
  47.             <div class="row">
  48.                 <div class="col-md-6 col-sm-6 col-xs-12">
  49.                     <div class="title_single">
  50.                         <span class="black"> {{ formation.title }}</span>
  51.                         <span class="red"> Par  <b> {{ formation.coach.utilisateur }}  </b> </span>
  52.                     </div>
  53.                     <div class="sperateur"></div>
  54.                     <div class="contenu">
  55.                         {{ formation.description|raw }}
  56.                     </div>
  57.                     <a href="{{ path('reservation', {type: 'coaching-session', slug: formation.slug, user: formation.coach.utilisateur.slug}) }}" class="btn"> <i class="icon icon-left-arrow gly-rotate"></i> Réservez une session </a>
  58.                 </div>
  59.                 <div class="col-md-6 col-sm-6 col-xs-12">
  60.                     <div class="image_single">
  61.                         <img src="{{ asset('uploads/'~formation.image) }}">
  62.                         <div class="cat_live"> #{{ formation.category }} </div>
  63.                     </div>
  64.                 </div>
  65.             </div>
  66.         </div>
  67.     </section>
  68.     <section class="pills">
  69.         <div class="container">
  70.             <div id="exTab1" class="row">
  71.                 <ul class="nav nav-tabs nav-pills" role="tablist">
  72.                     <li class="nav-item">
  73.                         <a class="nav-link active" data-toggle="tab" href="#tabs-1" role="tab">Déroulement du
  74.                             coaching</a>
  75.                     </li>
  76.                     <li class="nav-item">
  77.                         <a class="nav-link" data-toggle="tab" href="#tabs-2" role="tab">A propos du formateur </a>
  78.                     </li>
  79.                     <li class="nav-item">
  80.                         <a class="nav-link" data-toggle="tab" href="#tabs-3" role="tab">infos & tarifs </a>
  81.                     </li>
  82.                 </ul>
  83.                 <div class="tab-content">
  84.                     <div class="tab-pane active" id="tabs-1" role="tabpanel">
  85.                         <div class="row">
  86.                             <div class="col-md-6 col-sm-6 col-xs-12">
  87.                                 <div class="list_gal">
  88.                                     <div class="image_gal">
  89.                                         <img src="{{ asset('uploads/'~formation.imageDeroulement) }}">
  90.                                     </div>
  91.                                 </div>
  92.                             </div>
  93.                             <div class="col-md-6 col-sm-6 col-xs-12">
  94.                                 {{ formation.descriptionDeroulement|raw }}
  95.                             </div>
  96.                         </div>
  97.                     </div>
  98.                     <div class="tab-pane" id="tabs-2" role="tabpanel">
  99.                         <div class="row">
  100.                             <div class="col-md-6 col-sm-6 col-xs-12">
  101.                                 <div class="title_single">
  102.                                     {{ formation.coach.utilisateur }}
  103.                                 </div>
  104.                                 <div class="sperateur"></div>
  105.                                 <div class="contenu">
  106.                                     {{ formation.coach.description|raw }}
  107.                                 </div>
  108.                             </div>
  109.                             <div class="col-md-6 col-sm-6 col-xs-12">
  110.                                 <div class="image_single">
  111.                                     <img src="{{ asset('uploads/'~formation.coach.picture) }}" width="100%">
  112.                                 </div>
  113.                             </div>
  114.                         </div>
  115.                     </div>
  116.                     <div class="tab-pane" id="tabs-3" role="tabpanel">
  117.                         <div class="row">
  118.                             <div class="col-md-12">
  119.                                 <div class="title_single">
  120.                                     Infos et tarifs
  121.                                 </div>
  122.                                 <div class="sperateur"></div>
  123.                                 <div class="contenu">
  124.                                     {{ formation.price|raw }}
  125.                                 </div>
  126.                             </div>
  127.                         </div>
  128.                     </div>
  129.                 </div>
  130.             </div>
  131.         </div>
  132.     </section>
  133.     {% if toSee|length > 0 %}
  134.         <section class="actualite vidoes">
  135.             <div class="container">
  136.                 <div class="row section-head">
  137.                     <h2 class="title"> Nos autres sessions Coaching </h2>
  138.                     <div class="sperateur"></div>
  139.                 </div>
  140.                 <div class="row">
  141.                     <div class="stage_list single_list">
  142.                         {% for formation in toSee %}
  143.                             <div class="forma forma_stage live forma_coach">
  144.                                 <div class="image"><a class="pointer_link"
  145.                                                       href="{{ path('page_formation_coaching_single', {slug: formation.slug}) }}"> </a>
  146.                                     <img src="{{ asset('uploads/'~formation.image) }}">
  147.                                     <div class="formation_live coach">
  148.                                         <div class="cat_live"> #{{ formation.category }}</div>
  149.                                     </div>
  150.                                     <div class="bande_live"> Coaching</div>
  151.                                 </div>
  152.                                 <div class="conten-formation">
  153.                                     <div class="title-content-formation">
  154.                                         <a href="{{ path('page_formation_coaching_single', {slug: formation.slug}) }}">{{ formation.title }}</a>
  155.                                     </div>
  156.                                     <div class="location">
  157.                                         <a href="{{ path('page_formation_coaching_single', {slug: formation.slug}) }}">
  158.                                             Par <b> {{ formation.coach.utilisateur }} </b> </a>
  159.                                     </div>
  160.                                     <div class="sperateur"></div>
  161.                                     <div class="expert">{{ formation.description|excerpt(100) }}</div>
  162.                                 </div>
  163.                                 <a href="{{ path('page_formation_coaching_single', {slug: formation.slug}) }}"
  164.                                    class="btn"> <i class="icon icon-left-arrow gly-rotate"></i> Réservez une session
  165.                                 </a>
  166.                             </div>
  167.                         {% endfor %}
  168.                     </div>
  169.                 </div>
  170.             </div>
  171.         </section>
  172.     {% endif %}
  173. {% endblock %}