<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" {{ language_attributes() }}>
<head>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>{{ title }}</title>
    {{ wp_print_scripts( 'wcml-setup' ) }}
    {{ wp_do_action( 'admin_enqueue_scripts' ) }}
    {{ wp_print_scripts( 'wpml-posthog' ) }} {# Needs to be after `admin_enqueue_scripts` where it's enqueued / See entry point in wpml/wpml/src/config-scripts.php #}
    {{ wp_do_action( 'admin_print_styles' ) }}
    {{ wp_do_action( 'admin_head' ) }}
</head>
<body class="wcml-setup wp-core-ui">
<div class="wcml-setup__wrapper">
<h1 id="wcml-logo"><img
                src="{{ WCML_PLUGIN_URL }}/res/images/wcml-logo.svg"
                alt="WPML Multilingual & Multicurrency for WooCommerce"/></h1>

{% if has_handler %}
<form class="wcml-setup-form" method="post">
    <input type="hidden" name="nonce" value="{{ nonce }}"/>
    <input type="hidden" name="handle_step" value="{{ step }}"/>
{% endif %}
