{!! Form::button(((isset($banner) && $banner->active == '1') || !isset($banner) ? 'Active' : 'Inactive'), ['id' => 'active_button', 'class' => 'btn btn-block ' . ((isset($banner) && $banner->active == '1') || !isset($banner) ? 'btn-primary' : 'btn-danger')]) !!} {!! Form::hidden('active', '1', ['id' => 'active']) !!}
{!! Form::label('company', 'Company') !!} {!! Form::select('company', $companies, NULL, ['class' => 'form-control', 'id' => 'company_dropdown']) !!}
{!! Form::label('line_item', 'Line item') !!} {!! Form::text('line_item', NULL, ['class' => 'form-control']) !!}
{!! Form::label('link', 'Link') !!} @if(!isset($newsletter) || (isset($newsletter) && !$newsletter)) {!! Form::text('link', NULL, ['class' => 'form-control']) !!} @else {!! Form::text('link', NULL, ['class' => 'form-control', 'readonly' => 'readonly']) !!} @endif
{!! Form::label('banner_types', 'Banner Types') !!} {!! Form::select('banner_type_id', $banner_types, NULL, ['id' => 'banner_types', 'class' => 'form-control']) !!}
@if(!isset($newsletter) || (isset($newsletter) && !$newsletter))
@endif
{!! Form::hidden('source', NULL, ['id' => 'source']) !!}
@include('admin.partials.file_manager.file_manager')
{!! Form::submit($submit_title, ['class' => 'btn btn-primary form-control']) !!}
@include('admin.partials.reload') @push('scripts') @endpush