Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

150 Zeilen
6.7KB

  1. {% extends 'frontend/base.html.twig' %}
  2. {% block title %}Aux Actes Citoyens - Imaginer et construire ensemble le futur du Nord Franche-Comté{% endblock %}
  3. {% block meta %}
  4. <meta name="title" content="Aux Actes Citoyens - Imaginer et construire ensemble le futur du Nord Franche-Comté"/>
  5. <meta name="description"
  6. content="La plateforme numérique « Aux actes Citoyens » arrive bientôt. En attendant, rejoignez-nous !"/>
  7. {% endblock %}
  8. {% block body %}
  9. {% if blockContrib %}
  10. <div class="bloc-revolt-dream">
  11. <div class="container">
  12. <div class="row">
  13. <div class="col-12 col-lg-6">
  14. <h1>Nos révoltes et nos rêves pour notre territoire</h1>
  15. <h2>{{ blockContrib.title }}</h2>
  16. <div class="description">{{ blockContrib.description|raw }}</div>
  17. </div>
  18. <div class="col-12 col-lg-6">
  19. <img class="carto-dream" src="{{ 'assets/img/Cartographie-Reve.png' }}" alt="cartographie">
  20. <div class="bloc-contrib">
  21. <div class="you-are">
  22. Vous êtes le :
  23. </div>
  24. <div class="nb-contrib">
  25. {{ nbContrib }}
  26. </div>
  27. <div class="contrib">
  28. contributeurs
  29. </div>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. {% endif %}
  36. <div class="container bloc-form">
  37. <div class="row">
  38. <div class="col-12">
  39. <h1 class="title-form">Formulaire de contribution individuel</h1>
  40. {{ form_start(form) }}
  41. {% form_theme form '@LcSov/adminlte/crud/form_theme.html.twig' %}
  42. <div class="row">
  43. <div class="col-12">
  44. {{ form_label(form.territory, null, {'label_attr': {'class': 'label'}}) }}
  45. </div>
  46. <div class="col-12">
  47. <ul class="list-territory">
  48. {% for field in form.territory.children %}
  49. <li>
  50. {{ form_widget(field) }}
  51. {{ form_label(field) }}
  52. {{ form_errors(field) }}
  53. </li>
  54. {% endfor %}
  55. </ul>
  56. </div>
  57. </div>
  58. <div class="row row-revolt">
  59. <div class="col-12">
  60. <h2>
  61. <img src="{{ 'assets/img/Picto-Revoltes.png' }}" alt="révolte">
  62. Nos révoltes
  63. </h2>
  64. {{ form_label(form.revolt, null, {'label_attr': {'class': 'label'}}) }}
  65. </div>
  66. <div class="col-12">
  67. <ul class="revolt" data-index="0"
  68. data-prototype="{{ form_widget(form.revolt.vars.prototype)|e('html_attr') }}"></ul>
  69. <button type="button" class="add_item_link button-green" data-collection-holder-class="revolt">
  70. Ajouter une
  71. révolte
  72. </button>
  73. </div>
  74. </div>
  75. <div class="row row-dream">
  76. <div class="col-12">
  77. <h2>
  78. <img src="{{ 'assets/img/Picto-Reve.png' }}" alt="rêve">
  79. Nos rêves
  80. </h2>
  81. {{ form_label(form.dream, null, {'label_attr': {'class': 'label'}}) }}
  82. </div>
  83. <div class="col-12">
  84. <ul class="dream" data-index="0"
  85. data-prototype="{{ form_widget(form.dream.vars.prototype)|e('html_attr') }}"></ul>
  86. <button type="button" class="add_item_link button-green" data-collection-holder-class="dream">
  87. Ajouter un rêve
  88. </button>
  89. </div>
  90. </div>
  91. <div class="row row-project-boost">
  92. <div class="col-12">
  93. <h2>
  94. <img src="{{ 'assets/img/Picto-Actions-Booster.png' }}" alt="Projet booster">
  95. Les actions à booster
  96. </h2>
  97. {{ form_label(form.projectBoost, null, {'label_attr': {'class': 'label'}}) }}
  98. </div>
  99. <div class="col-12">
  100. <ul class="projectBoost" data-index="0"
  101. data-prototype="{{ form_widget(form.projectBoost.vars.prototype)|e('html_attr') }}"></ul>
  102. <button type="button" class="add_item_link button-green"
  103. data-collection-holder-class="projectBoost">Ajouter
  104. une action
  105. </button>
  106. </div>
  107. </div>
  108. <div class="row row-project-insp">
  109. <div class="col-12">
  110. <h2>
  111. <img src="{{ 'assets/img/Picto-Actions-Inspirantes.png' }}" alt="Projet inspirant">
  112. Les actions inspirantes
  113. </h2>
  114. {{ form_label(form.projectInspiring, null, {'label_attr': {'class': 'label'}}) }}
  115. </div>
  116. <div class="col-12">
  117. <ul class="projectInspiring" data-index="0"
  118. data-prototype="{{ form_widget(form.projectInspiring.vars.prototype)|e('html_attr') }}"></ul>
  119. <button type="button" class="add_item_link button-green"
  120. data-collection-holder-class="projectInspiring">
  121. Ajouter une action
  122. </button>
  123. </div>
  124. </div>
  125. <div class="row">
  126. <div class="col-12 text-center">
  127. {{ form_widget(form.save) }}
  128. </div>
  129. </div>
  130. {% do form.revolt.setRendered %}
  131. {% do form.dream.setRendered %}
  132. {% do form.projectBoost.setRendered %}
  133. {% do form.projectInspiring.setRendered %}
  134. {{ form_end(form) }}
  135. </div>
  136. </div>
  137. </div>
  138. {% endblock %}