From: Vincent Vanwaelscappel Date: Mon, 15 Jul 2019 18:57:37 +0000 (+0200) Subject: Merge remote-tracking branch 'origin/master' X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=657be313028162c8ca7e41dfffa86023ad439d80;p=pmi.git Merge remote-tracking branch 'origin/master' # Conflicts: # resources/views/partials/form.blade.php --- 657be313028162c8ca7e41dfffa86023ad439d80 diff --cc resources/views/partials/form.blade.php index 487b74d,b50ecbb..f5ca2db --- a/resources/views/partials/form.blade.php +++ b/resources/views/partials/form.blade.php @@@ -1,16 -1,16 +1,18 @@@ - @push('scripts') - - @endpush + @if ($page->get('form')) + + @push('scripts') + + @endpush -
-
+
+
+ @if($page->get('form_intro'))

{{$page->get('form_intro')}}

-
- {{ csrf_field() }} - + @endif + + +
@foreach($page->get('form') as $field) @php $required=$field['mandatory']?' required':''; @@@ -59,16 -54,17 +61,18 @@@ @endswitch @endforeach +
-
- @markdown($global->get('form_privacy')) -
-
- *{{__('Champs obligatoires')}} - -
-
+
+ @markdown($global->get('form_privacy')) +
+
+ *{{__('Champs obligatoires')}} + +
+ +
-
+ + @endif