<?php defined('ALTUMCODE') || die() ?>

<input type="hidden" id="url" name="url" value="<?= url() ?>" />
<input type="hidden" name="global_token" value="<?= \Altum\Middlewares\Csrf::get('global_token') ?>" />
<input type="hidden" name="number_decimal_point" value="<?= language()->global->number->decimal_point ?>" />
<input type="hidden" name="number_thousands_separator" value="<?= language()->global->number->thousands_separator ?>" />

<script>
    /* Some global variables */
    window.altum = {};
    let global_token = document.querySelector('input[name="global_token"]').value;
    let url = document.querySelector('input[name="url"]').value;
    let decimal_point = document.querySelector('[name="number_decimal_point"]').value;
    let thousands_separator = document.querySelector('[name="number_thousands_separator"]').value;
</script>
