]> _ Git - spinepro.git/commitdiff
wait #6974 @0:30
authorsoufiane <soufiane@cubedesigners.com>
Thu, 20 Jun 2024 13:59:01 +0000 (15:59 +0200)
committersoufiane <soufiane@cubedesigners.com>
Thu, 20 Jun 2024 13:59:01 +0000 (15:59 +0200)
wp-content/mu-plugins/cube/src/Forms/Contact.php
wp-content/themes/CCV/resources/views/forms/contact.blade.php

index 2c13b9e16b8a2cbcc551fee67545ddbc866fba9f..873fba511268a44911e74f8536dc19960fa57dbf 100644 (file)
@@ -13,9 +13,10 @@ class Contact extends Base
     function register_fields() {
 
         $this->add_fields([
-            Text::field('last-name', _x('Nom', 'Nom de famille', 'ccv')),
-            Text::field('first-name', __('Prénom', 'ccv')),
-            Text::field('phone', __('Téléphone', 'ccv'))
+            Text::field('last-name', 'Lastname',),
+            Text::field('first-name', 'Firstname'),
+            Text::field('phone', 'Phone'),
+            Text::field('any-particular-time-you-prefer?', 'Any particular time you prefer?')
         ]);
 
     }
index 0bd48028aea389243c416a3d81d36ddedd8f9110..ac318a0d5a93aa237f331b313d38726203dcb30f 100644 (file)
@@ -5,6 +5,7 @@
   {!! $form->field('last-name', ['show_title' => false]) !!}
   {!! $form->field('first-name', ['show_title' => false]) !!}
   {!! $form->field('phone', ['show_title' => false]) !!}
+  {!! $form->field('any-particular-time-you-prefer?', ['show_title' => false]) !!}
   {!! $form->button(__('Contactez-moi', 'ccv'), ['class' => 'btn mt-8']) !!}
 </div>