templates/page/contact_form.html.twig line 1

Open in your IDE?
  1. {{ form_start(form, {'action': path('contact_us'), 'method': 'POST','attr': {'id': 'contact-form', 'novalidate':'novalidate'}}) }} 
  2.     <div class="row clearfix">
  3.         <div class="col-lg-6 col-md-6 col-sm-12 form-group">
  4.             {{ form_widget(form.fullName,{ 'attr': {'id': 'name', 'class':'form-control', 'aria-required':true} }) }}
  5.         </div>
  6.         <div class="col-lg-6 col-md-6 col-sm-12 form-group">
  7.               {{ form_widget(form.email,{ 'attr': {'id': 'email', 'class':'form-control', 'aria-required':true} }) }}
  8.         </div>
  9.         <div class="col-lg-6 col-md-6 col-sm-12 form-group">
  10.               {{ form_widget(form.contact,{ 'attr': {'id': 'contact', 'class':'form-control', 'aria-required':true} }) }}
  11.         </div>
  12.         <div class="col-lg-6 col-md-6 col-sm-12 form-group">
  13.               {{ form_widget(form.subject,{ 'attr': {'id': 'subject', 'class':'form-control', 'aria-required':true} }) }}
  14.         </div>
  15.         <div class="col-lg-12 col-md-12 col-sm-12 form-group">
  16.               {{ form_widget(form.message,{ 'attr': {'id': 'message', 'class':'form-control', 'aria-required':true} }) }}
  17.         </div>
  18.         <div class="col-lg-12 col-md-12 col-sm-12 form-group text-center">
  19.             <div class="captcha-box">
  20.                 {{ form_widget(form.captcha) }}
  21.             </div>
  22.             {{ flash_form_errors(form.captcha) }}
  23.         </div>
  24.         <div class="col-lg-12 col-md-12 col-sm-12 form-group message-btn">
  25.             <button type="submit" class="theme-btn btn-two" name="submit-form"><span>Message</span></button>
  26.         </div>
  27.     </div>
  28. {{ form_end(form) }}