@if($downloadForm)
@include('frontend.components.form-modal', [
'formHtmlId' => 'download-modal',
'hiddenInputs' => [
'download_id' => 'download_id'
],
'title' => __('frontend.thank_you_for_your_interest'),
'subtitle' => __('frontend.please_enter_details_to_access_file'),
'cssClass' => 'download-form-placeholder',
'formDataAttrs' => [
'formid' => $downloadForm->id,
'formurl' => $downloadForm->form_url,
'pagetitle' => !empty($metaData->meta_title) ? $metaData->meta_title : '',
'pageurl' => getRequestUrl(),
]
])
@endif
@if($newsletterForm)
@include('frontend.components.form-modal', [
'formHtmlId' => 'newsletter-modal',
'title' => __('frontend.newsletter_form_title'),
'subtitle' => __('frontend.newsletter_form_subtitle'),
'cssClass' => 'newsletter-form-placeholder',
'overlayModifier' => 'max-content-width',
'formDataAttrs' => [
'formid' => $newsletterForm->id,
'formurl' => $newsletterForm->form_url,
'pagetitle' => !empty($metaData->meta_title) ? $metaData->meta_title : '',
'pageurl' => getRequestUrl(),
]
])
@endif
@if($contactForm)
@include('frontend.components.form-modal', [
'formHtmlId' => 'contact-us-modal',
'title' => __('frontend.contact') . ' ',
'cssClass' => 'contact-form-placeholder',
'formDataAttrs' => [
'formid' => $contactForm->id,
'formurl' => $contactForm->form_url,
'pagetitle' => !empty($metaData->meta_title) ? $metaData->meta_title : '',
'pageurl' => getRequestUrl(),
]
])
@endif
@include('frontend.components.form-modal', [
'formHtmlId' => 'pardot-modal',
'cssClass' => 'pardot-form-placeholder',
'formDataAttrs' => [
'pagetitle' => !empty($metaData->meta_title) ? $metaData->meta_title : '',
'pageurl' => getRequestUrl(),
]
])