{% extends "base.html.twig" %}
{% block body %}
<section class="container">
<div class="page-header">
<h1>{{ 'problem.headline'|trans }}</h1>
</div>
{% for error in app.flashes if app.flashes %}
<div>{{ error }}</div>
{% endfor %}
{{ form_start(form, {'attr': {'class': isEnabledFeature('web.enable.feedbackform.grecaptcha') ? 'grecaptchaForm' : '' }})}}
<fieldset class="clearfix">
<div class="form-group">
{{ form_label(form.message, 'problem.describe', {'label_attr': {'class': 'control-label'}}) }}
{{ form_widget(form.message, {'attr': {'class': 'form-control', 'rows': 6}}) }}
</div>
<div class="form-group">
{{ form_label(form.author, 'problem.name', {'label_attr': {'class': 'control-label'}}) }}
{{ form_widget(form.author, {'attr': {'class': 'form-control'}}) }}
</div>
<div class="form-group">
{{ form_label(form.email, 'problem.email', {'label_attr': {'class': 'control-label'}}) }}
{{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
</div>
{{ form_rest(form) }}
</fieldset>
<button class="gtm-btn-submit-problem btn btn-primary" type="submit">{{ 'problem.send_btn'|trans }}</button>
{{ form_end(form) }}
</section><!-- end .container -->
{% endblock %}
{% form_theme form 'bootstrap_3_layout.html.twig' %}
{% block title %}{{ parent() }} • Feedback {% endblock %}