templates/besoins/fiche.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block title %}{% if need.metaTitle %}{{ need.metaTitle }}{% else %}Comment {{ need.label|lower }}{% endif %}{% endblock %}
  3. {% block description %}{% if need.metaDescription %}{{ need.metaDescription }}{% else %}{{ need.label }} : découvrez des solutions naturelles et les pratiques les plus adaptées à vos besoins.{% endif %}{% endblock %}
  4. {% block styles %}
  5. {{ parent() }}
  6. <link rel="stylesheet" href="{{ asset('assets/css/autoComplete.zv.css') }}">
  7. {% endblock %}
  8. {% block body %}
  9. <section class="page_header" style="background-image: url('{{ documents_need_directory~need.picture }}')">
  10. <div class="page_header-overlay"></div>
  11. <div class="page_header-content">
  12. <div class="container">
  13. <div class="breadcrumb">Accueil > &nbsp;<a href="{{ path('default_besoins') }}" class="text-white">Besoins</a>&nbsp; > {{ need.label }}</div>
  14. <div class="title">{{ need.label }}</div>
  15. </div>
  16. </div>
  17. </section>
  18. <div class="container d-flex align-items-start justify-content-between mobile-flex-column-reverse mobile-gap-10" style="gap: 100px;">
  19. <section style="flex: 1">
  20. <div class="container pb-10">
  21. <div class="mt-12 pageContent" style="min-height: 100vh;">
  22. {{ need.pageContent | raw }}
  23. </div>
  24. </div>
  25. </section>
  26. <div style="flex: 0 0 25%; top: 0;" class="position-sticky mobile-remove-sticky">
  27. <form method="get" action="{{ path('default_search') }}">
  28. <div class="bg-primary p-7 mt-20 text-white border-radius10">
  29. <div class="text-center w-100 fw-bold">Prenez rendez-vous</div>
  30. <div class="text-center w-100 mt-3">Selon votre besoin, trouvez un praticien pour vous accompagner.</div>
  31. <div class="mt-7">
  32. <div class="input-primary">
  33. <label for="input-fiche">
  34. <input type="text" value="{{ need.label }}" id="input-fiche" name="search" readonly />
  35. </label>
  36. </div>
  37. </div>
  38. <div class="mt-3">
  39. <div class="input-white cursor-pointer">
  40. {% include("utils/localisation-form-input.html.twig") %}
  41. </div>
  42. </div>
  43. <div class="mt-5">
  44. <button type="submit" class="type-bordered w-100 bg-white text-primary">Prendre rendez-vous</button>
  45. </div>
  46. </div>
  47. </form>
  48. </div>
  49. </div>
  50. {% include("utils/help-coach.html.twig") %}
  51. {% endblock %}
  52. {% block javascripts %}
  53. {{ parent() }}
  54. {% endblock %}