{{ Form::model($landing_page, ['method' => 'POST','route' => ['landing_page_settings_updates'],'enctype'=>'multipart/form-data','data-toggle'=>'validator','id'=>'frontend_setting']) }} {{ Form::hidden('id', null, array('placeholder' => 'id','class' => 'form-control')) }} {{ Form::hidden('type', $tabpage, array('placeholder' => 'id','class' => 'form-control')) }}
status == 1 ? 'checked' : ''}}>
{{ Form::label('title',trans('messages.title').' *',['class'=>'form-control-label'], false ) }} {{ Form::text('title',old('title'),['id'=>'title','placeholder' => trans('messages.title'),'class' =>'form-control']) }}
{{ Form::label('email', __('messages.email').' ', ['class' => 'form-control-label'], false) }} {{ Form::email('email', old('email'), ['placeholder' => __('messages.email'), 'class' => 'form-control', 'pattern' => '[^@]+@[^@]+\.[a-zA-Z]{2,}', 'title' => 'Please enter a valid email address']) }}
{{ Form::label('contact_number', __('messages.contact_number').' ', ['class' => 'form-control-label'], false) }} {{ Form::text('contact_number', old('contact_number'), ['placeholder' => __('messages.contact_number'), 'class' => 'form-control contact_number']) }}
@if($landing_page && getMediaFileExit($landing_page, 'section5_attachment')) @else @endif
@if($landing_page && getMediaFileExit($landing_page, 'section5_attachment')) @php $attchments = $landing_page->getMedia('section5_attachment'); $file_extention = config('constant.IMAGE_EXTENTIONS'); @endphp

{{ __('messages.attached_files') }}

@foreach($attchments as $attchment )