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'}}) }}                                                   
  2.     <div class="row">
  3.         <div class="col-lg-6">
  4.         <div class="form-group">
  5.             {{ form_widget(form.fullName) }}
  6.             {{ flash_form_errors(form.fullName) }}
  7.         </div>
  8.         </div>
  9.         <div class="col-lg-6">
  10.         <div class="form-group">
  11.             <input class="form-control" type="text" value="" placeholder="Comapy (optioanl)">
  12.         </div>
  13.         </div>
  14.         <div class="col-lg-6">
  15.         <div class="form-group">
  16.         {{ form_widget(form.email) }}
  17.         {{ flash_form_errors(form.email) }} 
  18.         </div>
  19.         </div>
  20.         <div class="col-lg-6">
  21.         <div class="form-group">
  22.         {{ form_widget(form.contact) }}
  23.         {{ flash_form_errors(form.contact) }}  
  24.         </div>
  25.         </div>
  26.         <div class="col-lg-12">
  27.         <div class="form-group">
  28.         {{ form_widget(form.subject) }}
  29.         {{ flash_form_errors(form.subject) }}  
  30.         </div>
  31.         </div>                  
  32.         <div class="col-lg-12">
  33.         <div class="form-group">
  34.             {{ form_widget(form.message,{ 'attr': {'rows':'6', 'cols':'30'} }) }}
  35.             {{ flash_form_errors(form.message) }}                      
  36.         </div>
  37.         </div>
  38.         <div class="col-lg-12 mt-15">
  39.         <button class="btn btn-black icon-arrow-right-white mr-40 mb-20" type="submit">Send Message</button><br class="d-lg-none d-block"><span class="text-body-text-md color-gray-500 mb-20">By clicking contact us button, you agree our terms and policy,</span>
  40.         </div>
  41.     </div>
  42. {{ form_end(form) }}