src/Aqarmap/Bundle/MainBundle/Resources/views/Feedback/feedbackForm.html.twig line 1

  1. {% extends "base.html.twig" %}
  2. {% block body %}
  3. <section class="container">
  4. <div class="page-header">
  5. <h1>{{ 'problem.headline'|trans }}</h1>
  6. </div>
  7. {% if app.flashes %}
  8. {% for error in app.flashes %}
  9. <div>{{ error }}</div>
  10. {% endfor %}
  11. {% endif %}
  12. {{ form_start(form, {'attr': {'class': isEnabledFeature('web.enable.feedbackform.grecaptcha') ? 'grecaptchaForm' : '' }})}}
  13. <fieldset class="clearfix">
  14. <div class="form-group">
  15. {{ form_label(form.message, 'problem.describe', {'label_attr': {'class': 'control-label'}}) }}
  16. {{ form_widget(form.message, {'attr': {'class': 'form-control', 'rows': 6}}) }}
  17. </div>
  18. <div class="form-group">
  19. {{ form_label(form.author, 'problem.name', {'label_attr': {'class': 'control-label'}}) }}
  20. {{ form_widget(form.author, {'attr': {'class': 'form-control'}}) }}
  21. </div>
  22. <div class="form-group">
  23. {{ form_label(form.email, 'problem.email', {'label_attr': {'class': 'control-label'}}) }}
  24. {{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
  25. </div>
  26. {{ form_rest(form) }}
  27. </fieldset>
  28. <button class="gtm-btn-submit-problem btn btn-primary" type="submit">{{ 'problem.send_btn'|trans }}</button>
  29. {{ form_end(form) }}
  30. </section><!-- end .container -->
  31. {% endblock %}
  32. {% form_theme form 'bootstrap_3_layout.html.twig' %}
  33. {% block title %}{{ parent() }} &bull; Feedback {% endblock %}