From 5c28892409468cdc3451acb2d629d94c92943595 Mon Sep 17 00:00:00 2001 From: soufiane Date: Thu, 20 Jun 2024 15:59:01 +0200 Subject: [PATCH] wait #6974 @0:30 --- wp-content/mu-plugins/cube/src/Forms/Contact.php | 7 ++++--- .../themes/CCV/resources/views/forms/contact.blade.php | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) 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']) !!} -- 2.39.5