<?php
/**
 * @package     productive-forms
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 */

// Start:: Edit Widget Content
$this->start_controls_section(
    'section_edit_content',
    [
        'label' => esc_html__( 'Manage Widget Settings', 'productive-forms' ),
        'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
    ]
);

$this->add_control(
    'section_edit_content_label',
    [
        'label' => esc_html__( 'Manage Google Maps Settings in WordPress Admin', 'productive-forms' ),
        'type' => \Elementor\Controls_Manager::RAW_HTML,
        'content_classes' => 'block-and-widget-editor-container',
    ]
);

$this->add_control(
    'section_edit_content_integration',
    [
        'label' => '',
        'type' => \Elementor\Controls_Manager::RAW_HTML,
        'raw' => '<a target="_blank" href="' . admin_url( 'admin.php?page=' . PRODUCTIVE_FORMS_ADMIN_PAGE_REQUEST_URI . '&tab=section_integration_options_tab' ) . '" ' . 'class="nav-tab nav-tab-active">' . esc_html__( 'Google Maps Settings', 'productive-forms' ) . '</a>',
        'content_classes' => 'block-and-widget-editor-container',
    ]
);

$this->end_controls_section();
// End:: Edit Widget Content
