Deprecated: Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256

Deprecated: Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261

Deprecated: Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268

Deprecated: Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278

Deprecated: Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22

Deprecated: Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38

Deprecated: Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30

Deprecated: Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43

Deprecated: Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14

Deprecated: Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler

templates/frontend/mailing_list_form.html.twig line 1

Open in your IDE?
  1. <div class="modal-dialog modal-md">
  2.     <div class="modal-content ">
  3.         <div class="modal-header" style="background: #007a64;color: #fff;">
  4.             <h5 class="modal-title">Stay up to date with the latest Tender announcements from SANRAL</h5>
  5.             <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  6.                 <span aria-hidden="true" style="color: #fff">&times;</span>
  7.             </button>
  8.         </div>
  9.         <div class="modal-body modal-layout-dafault tt-form-default02">
  10.             <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><span class="icon-close"></span></button>
  11.             {{form_start(form,{'attr':{'id':'tender-form'}})}}
  12.             <div class="tt-form-default02">
  13.                 <div class="form-row">
  14.                     <div class="col-12 col-md-6">
  15.                         <div class="form-group">
  16.                             {{ form_widget(form.fullName,{'attr': {
  17.                                 'class': 'form-control',
  18.                                 'placeholder': 'Full Name*',
  19.                             }}) }}
  20.                         </div>
  21.                     </div>
  22.                     <div class="col-12 col-md-6">
  23.                         <div class="form-group">
  24.                             {{ form_widget(form.email,{'attr': {
  25.                                 'class': 'form-control',
  26.                                 'placeholder': 'Email*',
  27.                             }}) }}
  28.                         </div>
  29.                     </div>
  30.                 </div>
  31.                 <div class="form-row">
  32.                     <div class="col-12 col-md-6">
  33.                         <div class="form-group">
  34.                             {{ form_widget(form.mobile,{'attr': {
  35.                                 'class': 'form-control',
  36.                                 'placeholder': 'Mobile',
  37.                             }}) }}
  38.                         </div>
  39.                     </div>
  40.                     <div class="col-12 col-md-6">
  41.                         <div class="form-group">
  42.                             {{ form_widget(form.companyName,{'attr': {
  43.                                 'class': 'form-control',
  44.                                 'placeholder': 'Company Name',
  45.                             }}) }}
  46.                         </div>
  47.                     </div>
  48.                 </div>
  49.                 <div class="form-row">
  50.                     <div class="col-12">
  51.                         <div class="form-group">
  52.                             {{ form_widget(form.designation,{'attr': {
  53.                                 'class': 'form-control',
  54.                                 'placeholder': 'Designation',
  55.                             }}) }}
  56.                         </div>
  57.                         <div class="form-group">
  58.                             {{ form_widget(form.region,{'attr': {
  59.                                 'class': 'form-control',
  60.                                 'placeholder': 'Region*',
  61.                             }}) }}
  62.                         </div>
  63.                     </div>
  64.                 </div>
  65.                 <div class="form-row">
  66.                     <div class="col-12">
  67.                         <div class="form-group">
  68.                             <div id="terms-alert" class="text-danger hidden">Please accept our terms & conditions</div>
  69.                             <input type="checkbox" name="terms" value="1">
  70.                             <label for="tender_submission_form_terms">
  71.                                 * I agree to Sanral's
  72.                                 <a href="https://www.nra.co.za/terms-conditions/" style="color:#007a64;font-weight:bold" target="_blank">
  73.                                     Terms & Conditions
  74.                                 </a>.
  75.                                 <a href="{{ asset('documents/POPI-Act-2013.pdf') }}" target="_blank" style="color: #007a64; font-weight: bold">
  76.                                     POPIA 2013
  77.                                 </a>
  78.                             </label>
  79.                         </div>
  80.                     </div>
  81.                 </div>
  82.                 <div class="form-row">
  83.                     <div class="form-group col-md-12">
  84.                         <button type="submit" id="form_save" name="form[save]" class="btn btn-link btn-more py-2 btn-lg btn-block rounded-0 text-white rain-forest" style="text-decoration: none">
  85.                             SUBMIT
  86.                         </button>
  87.                     </div>
  88.                 </div>
  89.             </div>
  90.             
  91.             {# </form> #}
  92.             <div class="d-none">
  93.                 {{ form_rest(form) }}
  94.             </div>
  95.             {{ form_end(form) }}
  96.         </div>
  97.     </div>
  98. </div>