{{ $pageTitle ?? __('message.list') }}
@if (count($data) < 3) {{ __('message.why_choose') }} @endif
{{ Form::open(['method' => 'POST', 'route' => [ 'frontend.website.information.update', 'why_choose'], 'enctype' => 'multipart/form-data', 'data-toggle'=>'validator']) }}
@foreach($why_choose as $key => $value) @if( in_array( $key, ['title', 'subtitle'] ))
{{ Form::label($key, __('message.'.$key),['class'=>'form-control-label'] ) }} {{ Form::text($key, $value ?? null,[ 'placeholder' => __('message.'.$key), 'class' => 'form-control' ]) }}
@else
{{$key}}
@endif @endforeach

{{ Form::close() }}
@if(count($data) > 0) @include('why_choose.list') @endif