{% extends 'template/default.twig' %}
{% block title %}My cPanel{% endblock %}
{% block desc %}Add a sub domain{% endblock %}
{% block content %}
    <form action="/domain/addsub.php" method="post">
        <label for="">Sub domain name</label>
        <input type="text" name="domain" placeholder="mycpanel" class="form-control" style="border-radius: 0px;"><br>

        <label for="">Root domain</label>
        <input type="text" name="root" placeholder="myphpnotes.tk" class="form-control" style="border-radius: 0px;"><br>

        <label for="">Directory</label>
        <input type="text" name="dir" placeholder="/public_html/" class="form-control" style="border-radius: 0px;"><br>

        <button type="submit" class="btn btn-md btn-primary btn-block" style="border-radius: 0px;">Add sub domain</button>
    </form>
{% endblock %}