{!! Form::label('label','Label') !!} {!! Form::text('label' , optional($enroll)->label , ['class' => 'form-control','placeholder' => 'Label','required'=>'true']) !!}
{!! Form::label('heading','Heading') !!} {!! Form::text('heading' , optional($enroll)->heading , ['class' => 'form-control','placeholder' => 'Heading']) !!}
{!! Form::label('top_content','Description') !!} {{-- --}} {{--
{!! optional($enroll)->top_content !!}
--}} {{--
--}} {!! RTEForm::rte('top_content', optional($enroll)->top_content) !!}
{!! Form::label('bottom_content','Footer Description') !!} {{-- --}} {{--
{{ (!empty($enroll->bottom_content) || optional($enroll)->id > 0) ? $enroll->bottom_content : "I don't want to take advantage of this offer" }}
--}} {{--
--}} {!! RTEForm::rte('bottom_content', optional($enroll)->bottom_content) !!}
{!! Form::checkbox('is_required' , 1,optional($enroll)->is_required ) !!} {!! Form::label('is_required','Require choose a product') !!}
{!! Form::checkbox('product_image' , 1,optional($enroll)->product_image ) !!} {!! Form::label('product_image','Display Product Image?') !!}
{!! Form::checkbox('is_header_thanks' , 1,optional($enroll)->is_header_thanks ) !!} {!! Form::label('is_header_thanks','Display “No Thanks” option on top') !!}
{!! Form::checkbox('is_multi_pro' , 1,optional($enroll)->is_multi_pro ) !!} {!! Form::label('is_multi_pro','Allow multiple products') !!}
{!! Form::checkbox('is_multi_qty' , 1,optional($enroll)->is_multi_qty ) !!} {!! Form::label('is_multi_qty','Allow multiple Quantity') !!}
{!! Form::checkbox('is_checkout' , 1,optional($enroll)->is_checkout ) !!} {!! Form::label('is_checkout','Continue to Checkout') !!}
{!! Form::label('checkout_label','Continue to Checkout Label') !!} {!! Form::text('checkout_label' , optional($enroll)->checkout_label , ['class' => 'form-control','placeholder' => 'Continue to Checkout Label']) !!}
{!! Form::label('checkout_label_action','Action') !!} {!! Form::select('checkout_label_action' , ['nextStep' => 'Next Step','checkout' => 'Checkout'] , optional($enroll)->checkout_label_action ?? 'nextStep' , ['class' => 'form-control']) !!}
{!! Form::label('checkout_label','Continue Label') !!}
@if(isset($step_labels) > 0) @foreach($step_labels as $index => $step_label)
{!! Form::label('label_button','Label Button') !!} {!! Form::text('label_button[]' , optional($step_label)->name ?? '' , ['class' => 'form-control','placeholder' => 'Label Button']) !!}
{!! Form::label('country', 'Country') !!} {!! Form::select('country['.$index.'][]', $bCountries, isset($step_label) ? json_decode($step_label->countries) : ['all'] , ['class' => 'form-control select_select2', 'id' => 'country_select', 'multiple', 'style' => 'width:100%;']) !!}
@endforeach @else
{!! Form::label('label_button','Label Button') !!} {!! Form::text('label_button[]' , isset($step_label) ? $step_label->name : '' , ['class' => 'form-control','placeholder' => 'Label Button']) !!}
{!! Form::label('country', 'Country') !!} {!! Form::select('country[0][]', $bCountries, isset($step_label) ? json_decode($step_label->countries) : ["all"] , ['class' => 'form-control select_select2', 'id' => 'country_select', 'multiple', 'style' => 'width:100%;']) !!}
@endif
{{--
--}} {{-- --}} {{--
--}}
@if(optional($enroll)->id > 0) @endif