 }})
- @include('theme::auth.partials.inputs.first_name')
+ @include('theme::auth.partials.inputs.first_name', ['required' => true])
{{-- LAST_NAME --}}
- @include('theme::auth.partials.inputs.last_name')
+ @include('theme::auth.partials.inputs.last_name', ['required' => true])
{{-- ADDRESS --}}
- @include('theme::auth.partials.inputs.address')
+ @include('theme::auth.partials.inputs.address', ['required' => true])
{{-- ADDRESS2 --}}
@@ -26,22 +26,22 @@
{{-- POSTAL_CODE --}}
- @include('theme::auth.partials.inputs.postal_code')
+ @include('theme::auth.partials.inputs.postal_code', ['required' => true])
{{-- CITY --}}
- @include('theme::auth.partials.inputs.city')
+ @include('theme::auth.partials.inputs.city', ['required' => true])
{{-- COUNTRY --}}
- @include('theme::auth.partials.inputs.country')
+ @include('theme::auth.partials.inputs.country', ['required' => true])
{{-- PHONE --}}
- @include('theme::auth.partials.inputs.phone')
+ @include('theme::auth.partials.inputs.phone', ['required' => true])
diff --git a/views/pages/participation/parts/winning-proof-form/proof.blade.php b/views/pages/participation/parts/winning-proof-form/proof.blade.php
index 396002f..40e145a 100644
--- a/views/pages/participation/parts/winning-proof-form/proof.blade.php
+++ b/views/pages/participation/parts/winning-proof-form/proof.blade.php
@@ -6,16 +6,21 @@
{{-- FILE CODE --}}
-
-
{{ Str::ucfirst(__('validation.custom.barcode')) }} *
+
$errors->has('file_code'),
+ 'is-invalid' => $errors->has('barcode'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('barcode'),
])
accept=".jpg,.jpeg,.png,.pdf" required>
- @foreach ($errors->get('file_code') as $message)
+ @foreach ($errors->get('barcode') as $message)
{{ $message }}
@endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
{{-- Force next columns to break to new line --}}
@@ -23,16 +28,21 @@
{{-- FILE RECEIPT --}}
-
-
{{ Str::ucfirst(__('validation.custom.ticket')) }} *
+
$errors->has('file_receipt'),
+ 'is-invalid' => $errors->has('ticket'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('ticket'),
])
accept=".jpg,.jpeg,.png,.pdf" required>
- @foreach ($errors->get('file_receipt') as $message)
+ @foreach ($errors->get('ticket') as $message)
{{ $message }}
@endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
{{-- Force next columns to break to new line --}}
@@ -40,16 +50,21 @@
{{-- FILE STICKER --}}
-
-
{{ Str::ucfirst(__('validation.custom.sticker')) }} *
+
$errors->has('file_sticker'),
+ 'is-invalid' => $errors->has('sticker'),
+ ]) @class([
+ 'form-control',
+ 'form-control-lg',
+ 'is-invalid' => $errors->has('sticker'),
])
accept=".jpg,.jpeg,.png,.pdf" required>
- @foreach ($errors->get('file_sticker') as $message)
+ @foreach ($errors->get('sticker') as $message)
{{ $message }}
@endforeach
+
{{ __('Image ou pdf, 2 Mo maximum') }}
diff --git a/views/pages/participation/parts/winning-proof.blade.php b/views/pages/participation/parts/winning-proof.blade.php
index e46a0e0..4afee5f 100644
--- a/views/pages/participation/parts/winning-proof.blade.php
+++ b/views/pages/participation/parts/winning-proof.blade.php
@@ -1,4 +1,9 @@
-
+ empty($noHide),
+])>
{{ __('Envoyez vos preuves de gain') }}
@@ -16,9 +21,9 @@