{$layout}
{$template "menu"}

<div class="http-config-container">
    <form class="ui form http-config-form" data-tea-action="$" data-tea-success="success">
        <csrf-token></csrf-token>
        <div class="config-section">
            <div class="config-item">
                <div class="item-label">域名 *</div>
                <div class="item-content">
                    <textarea rows="15" name="names" placeholder="每行一个域名" ref="namesInput"></textarea>
                </div>
            </div>
            <div class="config-item" v-if="hasGroups">
                <div class="item-label">所属分组</div>
                <div class="item-content">
                    <ns-domain-group-selector ref="groupSelector"></ns-domain-group-selector>
                </div>
            </div>
        </div>
        <submit-btn></submit-btn>
    </form>
</div>