From: soufiane Date: Thu, 20 Jun 2024 13:59:01 +0000 (+0200) Subject: wait #6974 @0:30 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=5c28892409468cdc3451acb2d629d94c92943595;p=spinepro.git wait #6974 @0:30 --- diff --git a/wp-content/mu-plugins/cube/src/Forms/Contact.php b/wp-content/mu-plugins/cube/src/Forms/Contact.php index 2c13b9e1..873fba51 100644 --- a/wp-content/mu-plugins/cube/src/Forms/Contact.php +++ b/wp-content/mu-plugins/cube/src/Forms/Contact.php @@ -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?') ]); } diff --git a/wp-content/themes/CCV/resources/views/forms/contact.blade.php b/wp-content/themes/CCV/resources/views/forms/contact.blade.php index 0bd48028..ac318a0d 100644 --- a/wp-content/themes/CCV/resources/views/forms/contact.blade.php +++ b/wp-content/themes/CCV/resources/views/forms/contact.blade.php @@ -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']) !!}