<?php include "../../root.class.php";
$html = new html();
$html->add_styles_page();

$name = new input();
$name->name("name");
$name->id("name");
$name->required();
$name->type("text");
$name->class();
$name->placeholder("Asset Type Name");
?>

<div class="form_down">
    <h1>ADD ASSET TYPE</h1>

    <?php
    $name->add();
    echo $html->text_formator('description');

    echo $html->submit_btn('submit', "ADD", 'add_asset_type()')


        ?>

</div>

<?php
$html->html_form_ajax("add_asset_type", "INSERT", "asset_types", '', false, [], '', ['description']);
?>