<fieldset>
    <legend>{MNAME_TITLE}</legend>
    <table class="formFields" cellspacing="0" width="100%">
        <tr>
            <td class="name"><label for="fid-primary_ns_server">{MNAME_LEGEND}</label></td>
            <td>{MNAME_LIST}</td>
        </tr>
    </table>
</fieldset>

<fieldset>
    <legend>{DNS_DNS_DEFAULT}</legend>
    <table class="formFields" cellspacing="0" width="100%">
        <tr {TTL_ERROR}>
            <td class="name"><label for="fid-ttl">{TTL_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="ttl" id="fid-ttl" value="{TTL_VALUE}" size="20" maxlength="10">&nbsp;{TTL_UNIT_LIST}</td>
        </tr>
    </table>
</fieldset>

<fieldset>
    <legend>{DNS_SOA_LEGEND}</legend>
    <table class="formFields" cellspacing="0" width="100%">
        <tr {REFRESH_ERROR}>
            <td class="name"><label for="fid-refresh">{REFRESH_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="refresh" id="fid-refresh" value="{REFRESH_VALUE}" size="20" maxlength="10">&nbsp;{REFRESH_UNIT_LIST}</td>
        </tr>
        <tr {RETRY_ERROR}>
            <td class="name"><label for="fid-retry">{RETRY_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="retry" id="fid-retry" value="{RETRY_VALUE}" size="20" maxlength="10">&nbsp;{RETRY_UNIT_LIST}</td>
        </tr>
        <tr {EXPIRE_ERROR}>
            <td class="name"><label for="fid-expire">{EXPIRE_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="expire" id="fid-expire" value="{EXPIRE_VALUE}" size="20" maxlength="10">&nbsp;{EXPIRE_UNIT_LIST}</td>
        </tr>
        <tr {MINIMUM_ERROR}>
            <td class="name"><label for="fid-minimum">{MINIMUM_TEXT}</label>&nbsp;{REQ}</td>
            <td><input type="text" name="minimum" id="fid-minimum" value="{MINIMUM_VALUE}" size="20" maxlength="10">&nbsp;{MINIMUM_UNIT_LIST}</td>
        </tr>
        <tr {RNAME_ERROR}>
            <td class="name"><label for="fid-rname">{RNAME_LABEL}</label>&nbsp;{REQ}</td>
            <td>
                <div class="hint">{RNAME_HINT}</div>
                <div class="text-value">
                    <div class="indent-box">
                        <input type="radio" class="radiobox" value="owner" id="soaRecord-rname_type_owner" name="rname_type" {RNAME_TYPE_OWNER_CHECKED}>
                        <div class="indent-box-content">
                            <label for="soaRecord-rname_type_owner">{RNAME_TYPE_OWNER_TEXT}</label>
                        </div>
                    </div>
                    <div class="indent-box">
                        <input type="radio" class="radiobox" value="domain" id="soaRecord-rname_type_domain" name="rname_type" {RNAME_TYPE_DOMAIN_CHECKED}>
                        <div class="indent-box-content">
                            <label for="soaRecord-rname_type_domain">{RNAME_TYPE_DOMAIN_TEXT}</label>
                            <div class="b-subitem {RNAME_DOMAIN_HIDDEN}">
                                <input type="text" name="rname_domain" id="soaRecord-rname_domain" value="{RNAME_DOMAIN}" maxlength="100" size="17"> @&lt;domain&gt;
                            </div>
                        </div>
                    </div>
                    <div class="indent-box">
                        <input type="radio" class="radiobox" value="external" id="soaRecord-rname_type_external" name="rname_type" {RNAME_TYPE_EXTERNAL_CHECKED}>
                        <div class="indent-box-content">
                            <label for="soaRecord-rname_type_external">{RNAME_TYPE_EXTERNAL_TEXT}</label>
                            <div class="b-subitem {RNAME_EXTERNAL_HIDDEN}">
                                <input type="text" name="rname_external" id="soaRecord-rname_external" value="{RNAME_EXTERNAL}" maxlength="100" size="17">
                            </div>
                        </div>
                    </div>
                    <div class="indent-box">
                        <input type="checkbox" class="checkbox" name="rname_enforce" id="soaRecord-rname_enforce" value="true" {RNAME_ENFORCE_EMAIL_CHECKED}>
                        <div class="indent-box-content">
                            <label for="soaRecord-rname_enforce">{RNAME_ENFORCE_EMAIL_TEXT}</label>
                        </div>
                    </div>
                </div>
            </td>
        </tr>
    </table>
</fieldset>

{ADVANCED_SECTION}

<?= $this->requireJs('app/dns-zone/soa-record-rname') ?>
