<script type="text/javascript" src="themes/clientbase/libs/mithril.min.js?{$revision}"></script>

<div align=center>
{if !$activate}
    <form action="edit_modules.php?module=dadata" method="post">
        <input type="hidden" name="csrf" value="{$csrf}">
        <input type="hidden" name="activate" value="{$activate}">
        <input class="btn btn-default btn-sm" type="submit" value="Включить модуль"><br><br>
    </form>
{else}
    <div id="key-component"></div>
    <script type="text/javascript" src="modules/dadata/js/key-component.js"></script>

    <hr>

    <div id="setting-component"></div>
    <script type="text/javascript" src="modules/dadata/js/setting-component.js"></script>
{/if}
</div>
