templates/pages/form_with_blocks.html.twig line 1

Open in your IDE?
  1. {% extends "base.html.twig" %}
  2. {% block content %}
  3. <main id="main" class="main-shifted-right">
  4. {% for block in content.blocks %}
  5. {% include 'partials/' ~ block.type ~ '.html.twig' with {
  6. content: block,
  7. view: view.blocks[loop.index0],
  8. } %}
  9. {% endfor %}
  10. <section id="about" class="about">
  11. <div class="container" id="formContainer">
  12. {% if content.form %}
  13. {% if app.request.get('send') != 'true' %}
  14. {% form_theme content.form 'forms/theme.html.twig' %}
  15. {{ form(content.form) }}
  16. {% else %}
  17. <div class="section-title" style="width: 80%">
  18. <h1 style="font-family: Teko, sans-serif; font-size: 50px; letter-spacing: 1.3px; line-height: 1">
  19. Ihre Nachricht wurde erfolgreich versandt. </br>
  20. Keine Mail erhalten? Bitte prüfen Sie auch Ihren Spamordner.
  21. </h1>
  22. </div>
  23. {% endif %}
  24. {% endif %}
  25. </div>
  26. </section>
  27. </main>
  28. {% endblock %}