You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

156 lines
7.2KB

  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. <div class="bloc-revolt-dream">
  10. <div class="container">
  11. <div class="row">
  12. <div class="col-6">
  13. <h1>Nos révoltes et nos rêves pour notre territoire</h1>
  14. <h2>Afin de rechercher des solutions concrètes pour ...</h2>
  15. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit,
  16. sed do eiusmod tempor incididunt ut labore et dolore ma-
  17. gna aliqua. Ut enim ad minim veniam, quis nostrud exer-
  18. citation ullamco laboris nisi ut aliquip ex ea commodo
  19. consequat. Duis aute irure dolor in reprehenderit in volup-
  20. tate velit esse cillum dolore eu fugiat nu. mco laboris nisi
  21. ut aliquip ex ea commodo consequat. Duis aute irure do-
  22. lor in reprehenderit in voluptate velit esse cillum dolore eu
  23. fugiat nu.</p>
  24. </div>
  25. <div class="col-6">
  26. <img class="carto-dream" src="{{ 'assets/img/Cartographie-Reve.png' }}" alt="cartographie">
  27. <div class="bloc-contrib">
  28. <div class="you-are">
  29. Vous êtes le :
  30. </div>
  31. <div class="nb-contrib">
  32. {{ nbContrib }}
  33. </div>
  34. <div class="contrib">
  35. contributeurs
  36. </div>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="container bloc-form">
  43. <div class="row">
  44. <div class="col-12">
  45. <h1 class="title-form">Formulaire de contribution individuel</h1>
  46. {{ form_start(form) }}
  47. {% form_theme form '@LcSov/adminlte/crud/form_theme.html.twig' %}
  48. <div class="row">
  49. <div class="col-12">
  50. {{ form_label(form.territory, null, {'label_attr': {'class': 'label'}}) }}
  51. </div>
  52. <div class="col-12">
  53. <ul class="list-territory">
  54. {% for field in form.territory.children %}
  55. <li>
  56. {{ form_widget(field) }}
  57. {{ form_label(field) }}
  58. {{ form_errors(field) }}
  59. </li>
  60. {% endfor %}
  61. </ul>
  62. </div>
  63. </div>
  64. <div class="row row-revolt">
  65. <div class="col-12">
  66. <h2>
  67. <img src="{{ 'assets/img/Picto-Revoltes.png' }}" alt="révolte">
  68. Nos révoltes
  69. </h2>
  70. {{ form_label(form.revolt, null, {'label_attr': {'class': 'label'}}) }}
  71. </div>
  72. <div class="col-12">
  73. <ul class="revolt" data-index="0"
  74. data-prototype="{{ form_widget(form.revolt.vars.prototype)|e('html_attr') }}"></ul>
  75. <button type="button" class="add_item_link button-green" data-collection-holder-class="revolt">
  76. Ajouter une
  77. révolte
  78. </button>
  79. </div>
  80. </div>
  81. <div class="row row-dream">
  82. <div class="col-12">
  83. <h2>
  84. <img src="{{ 'assets/img/Picto-Reve.png' }}" alt="rêve">
  85. Nos rêves
  86. </h2>
  87. {{ form_label(form.dream, null, {'label_attr': {'class': 'label'}}) }}
  88. </div>
  89. <div class="col-12">
  90. <ul class="dream" data-index="0"
  91. data-prototype="{{ form_widget(form.dream.vars.prototype)|e('html_attr') }}"></ul>
  92. <button type="button" class="add_item_link button-green" data-collection-holder-class="dream">
  93. Ajouter un rêve
  94. </button>
  95. </div>
  96. </div>
  97. <div class="row row-project-boost">
  98. <div class="col-12">
  99. <h2>
  100. <img src="{{ 'assets/img/Picto-Actions-Booster.png' }}" alt="Projet booster">
  101. Les actions à booster
  102. </h2>
  103. {{ form_label(form.projectBoost, null, {'label_attr': {'class': 'label'}}) }}
  104. </div>
  105. <div class="col-12">
  106. <ul class="projectBoost" data-index="0"
  107. data-prototype="{{ form_widget(form.projectBoost.vars.prototype)|e('html_attr') }}"></ul>
  108. <button type="button" class="add_item_link button-green"
  109. data-collection-holder-class="projectBoost">Ajouter
  110. une action
  111. </button>
  112. </div>
  113. </div>
  114. <div class="row row-project-insp">
  115. <div class="col-12">
  116. <h2>
  117. <img src="{{ 'assets/img/Picto-Actions-Inspirantes.png' }}" alt="Projet inspirant">
  118. Les actions inspirantes
  119. </h2>
  120. {{ form_label(form.projectInspiring, null, {'label_attr': {'class': 'label'}}) }}
  121. </div>
  122. <div class="col-12">
  123. <ul class="projectInspiring" data-index="0"
  124. data-prototype="{{ form_widget(form.projectInspiring.vars.prototype)|e('html_attr') }}"></ul>
  125. <button type="button" class="add_item_link button-green"
  126. data-collection-holder-class="projectInspiring">
  127. Ajouter une action
  128. </button>
  129. </div>
  130. </div>
  131. <div class="row">
  132. <div class="col-12 text-center">
  133. {{ form_widget(form.save) }}
  134. </div>
  135. </div>
  136. {% do form.revolt.setRendered %}
  137. {% do form.dream.setRendered %}
  138. {% do form.projectBoost.setRendered %}
  139. {% do form.projectInspiring.setRendered %}
  140. {{ form_end(form) }}
  141. </div>
  142. </div>
  143. </div>
  144. {% endblock %}