@include('business.ticket.btaf._btaf_text_row', ['label' => "Headline", 'name' => 'headline']) @include('business.ticket.btaf._btaf_text_area_row', ['label' => 'Body', 'name' => 'body']) @include('business.ticket.btaf._btaf_text_row', ['label' => 'Image Link', 'name' => 'image_link']) @include('business.ticket.btaf._btaf_text_area_row', ['label' => 'Image Direction', 'name' =>'image_direction']) @include('business.ticket.btaf._btaf_select_row', ['label' => 'Type', 'name' =>'lightbox_type', 'map' => \App\Models\Optin_Monster::$type_map]) @include('business.ticket.btaf._btaf_text_row', ['label' => 'Location', 'name' => 'location', 'id' => 'opt_in_location'])
{{ Form::on_off_ex("Yes/No Button", 'yes_no', $additional_fields->yes_no, 'yes_no_switch', 'show_hide_yes_no(this.checked)', \App\Helpers\FormComponentHelper::SIZE_LARGE, false) }}
{{ Form::label_styled("'Yes' Button Text", null, \App\Helpers\FormComponentHelper::SIZE_LARGE, 3) }} {{ Form::text_ex('yes_label', $additional_fields->yes_label, 9) }}
{{ Form::label_styled("'No' Button Text", null, \App\Helpers\FormComponentHelper::SIZE_LARGE, 3) }} {{ Form::text_ex('no_label', $additional_fields->no_label, 9) }}
@include('business.ticket.btaf._btaf_text_row', ['label' => "'Submit' Button Text", 'name' => 'submit_label']) @include('business.ticket.btaf._btaf_text_area_row', ['label' => 'Offer / Reward', 'name' =>'offer_reward']) {{ Form::hidden('success_action', $additional_fields->success_action) }} @include('shared._radio_row_by_map', [ 'row_class' => 'btaf-radio-row', 'radio_label' => 'Success Action', 'map' => \App\Models\Optin_Monster::$success_action_map, 'field_name' => 'success_action', 'field_value' => $additional_fields->success_action, 'col_size' => 3, ])
{{ Form::label_styled('Success Message', null, \App\Helpers\FormComponentHelper::SIZE_LARGE, 3) }} {{ Form::text_ex('success_message', $additional_fields->success_message, 9) }}
{{ Form::label_styled('Success Redirect', null, \App\Helpers\FormComponentHelper::SIZE_LARGE, 3) }} {{ Form::text_ex('success_redirect', $additional_fields->success_redirect, 9) }}
@include('business.ticket.btaf._btaf_text_row', ['label' => 'Display Rules', 'name' => 'display_rules'])
{{ Form::label_styled('Data Collected', null, \App\Helpers\FormComponentHelper::SIZE_LARGE, 3) }} {{ Form::checkbox_ex('collect_email', $additional_fields->optin_monster ? $additional_fields->collect_email : 1, 'Email', null, null, 2) }} {{ Form::checkbox_ex('collect_name', $additional_fields->collect_name, 'Name', null, null, 2) }} {{ Form::checkbox_ex('collect_phone_number', $additional_fields->collect_phone_number, 'Phone Number', null, null, 3) }}
@include('business.ticket.btaf._btaf_text_row', ['label' => 'Desktop ID', 'name' => 'optin_id']) @include('business.ticket.btaf._btaf_text_row', ['label' => 'Mobile ID', 'name' => 'mobile_optin_id']) @include('business.ticket.btaf._btaf_select_row', ['label' => 'Mailing List', 'name' =>'engage_mailing_list', 'map' => $mailing_lists]) @if($business->mailchimp_integration()) @include('business.ticket.btaf._btaf_select_row', ['label' => 'Mailchimp Group', 'name' =>'mc_group', 'map' => $mc_groups])
@if(isset($mailchimp_interests) && !empty($mailchimp_interests)) @include('business.ticket._lightbox_fields_mc_interests', compact('mailchimp_interests')) @endif
@endif