1 {% extends '@RapsysBlog/_base.html.twig' %}
 
   5                         <h1><a href="{{ canonical }}">{{ title.page }}</a></h1>
 
   6                         <p>{{ description }}</p>
 
   9                         {% if sent is defined and sent %}
 
  10                                 <p>{% trans %}Your message has been sent{% endtrans %}</p>
 
  12                                 {{ form_start(contact) }}
 
  13                                         {{ form_row(contact.subject) }}
 
  15                                         {{ form_row(contact.name) }}
 
  17                                         {{ form_row(contact.mail) }}
 
  19                                         {{ form_row(contact.message) }}
 
  21                                         {{ form_row(contact.captcha) }}
 
  23                                         {{ form_row(contact.submit) }}
 
  25                                         {# Render CSRF token etc .#}
 
  26                                         <div style="display:none">{{ form_rest(contact) }}</div>
 
  27                                 {{ form_end(contact) }}