Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

templates/themes/theme/enquiry/enquiry.html.twig line 1

Open in your IDE?
  1. {% block stylesheets %}
  2.     <script src="https://www.google.com/recaptcha/enterprise.js?render={{ recaptcha_key }}"></script>
  3.     <script>
  4.        function onSubmit(token) {
  5.          document.getElementById("enquiry_form").submit();
  6.        }
  7.      </script>
  8. {% endblock %}
  9. <section class="enquiry-form">
  10.     <div class="container">
  11.         <div class="col-span-4 lg:col-span-6 flex flex-col gap-3">
  12.             <div class="form-gradient" style="--url: url({{ asset('build/images/form.jpg') }})">
  13.                 <div class="form-gradient__content">
  14.                     <div class="cms-area">
  15.                         {{ forceRenderPcgcHtmlBlockByIdentifier(1)|raw }}
  16.                     </div>
  17.                 </div>
  18.             </div>
  19.             <p class="text-center text-brand-dark">By submitting this form, you agree for a representative of Taurus HR and Employment Law to contact you.</p>
  20.         </div>
  21.         <div class="col-span-4 lg:col-span-5 lg:col-start-8">
  22.             {% if error %}
  23.                 <p class="error">{{errorMessage}}</p>
  24.             {% endif %}
  25.             {% if success %}
  26.                 <p class="success">Thank you for your enquiry</p>
  27.             {% else %}
  28.                 <form method="post" id="enquiry_form">
  29.                     {{ form_widget(form) }}
  30.                     <div>
  31.                         {# Set recaptcha keys (public/site and secret) in config.yml #}
  32.                         {# Generate a new key (remember to add live domain to the list) here https://www.google.com/recaptcha/admin#list #}
  33.                         <button type="submit" class="button button-dark mt-12 g-recaptcha" data-sitekey="{{ recaptcha_key }}" data-callback='onSubmit'>Send</button>
  34.                     </div>
  35.                 {{ form_end(form) }}
  36.             {% endif %}
  37.         </div>
  38.     </div>
  39. </section>
  40. <twig:WhatsAppBlock />
  41. {% block javascript %}
  42. {% endblock %}