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

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