<form>
    <field>
        <id>range.interface</id>
        <label>Interface</label>
        <type>dropdown</type>
        <help>Interface to serve this range</help>
    </field>
    <field>
        <id>range.set_tag</id>
        <label>Tag [set]</label>
        <type>dropdown</type>
        <help>Optional tag to set for requests matching this range which can be used to selectively match dhcp options</help>
    </field>
    <field>
        <id>range.start_addr</id>
        <label>Start address</label>
        <type>text</type>
        <help>Start of the range, e.g. 192.168.1.100, 2000::1 or when constructor is used a partial like ::1.</help>
    </field>
    <field>
        <id>range.end_addr</id>
        <label>End address</label>
        <type>text</type>
        <help>End of the range.</help>
    </field>
    <field>
        <id>range.constructor</id>
        <label>Constructor</label>
        <type>dropdown</type>
        <help>Interface to use to calculate the proper range, when selected, a range maybe specified as partial (e.g. ::1, ::400)</help>
    </field>
    <field>
        <id>range.prefix_len</id>
        <label>Prefix length (ipv6)</label>
        <type>text</type>
        <hint>64</hint>
        <help>Prefix length offered to the client.</help>
    </field>
    <field>
        <id>range.mode</id>
        <label>Mode</label>
        <type>select_multiple</type>
        <help>Mode flags to set for this range, 'static' means no addresses will be automatically assigned. </help>
    </field>
    <field>
        <id>range.lease_time</id>
        <label>Lease time</label>
        <type>text</type>
        <hint>86400</hint>
        <help>Defines how long the addresses (leases) given out by the server are valid (in seconds)</help>
        <grid_view>
            <visible>false</visible>
        </grid_view>
    </field>
    <field>
        <id>range.domain</id>
        <label>Domain</label>
        <type>text</type>
        <help>Offer the specified domain to machines in this range.</help>
    </field>
    <field>
        <id>range.nosync</id>
        <label>Disable HA sync</label>
        <type>checkbox</type>
        <help>Ignore this range from being transfered or updated by ha sync.</help>
        <grid_view>
            <type>boolean</type>
            <formatter>boolean</formatter>
        </grid_view>
    </field>
    <field>
        <id>range.description</id>
        <label>Description</label>
        <type>text</type>
        <help>You may enter a description here for your reference (not parsed).</help>
    </field>
</form>
