
            <div class="clearfix">
              <input id="nd_ipinventory-subnet" class="nd_sidebar-topinput nd_colored-input"
                placeholder="CIDR Prefix/Subnet" required="required"
                name="subnet" value="[% params.subnet | html_entity %]" type="text" autocomplete="off"
                rel="tooltip" data-placement="left" data-offset="5" data-title="Prefix/Subnet in CIDR Format"/>
            </div>

            <fieldset>
              <legend class="nd_sidebar-legend">
                <label><em><strong>Date Range</strong></em></label>
              </legend>
              <div class="clearfix input-prepend">
                <label class="add-on">
                  <input type="checkbox" id="age_invert"
                    name="age_invert"[% ' checked="checked"' IF params.age_invert %]/>
                </label>
                <label class="nd_checkboxlabel" for="age_invert">
                  <span class="nd_searchcheckbox uneditable-input">Not within...</span>
                </label>
              </div>
              <div class="clearfix">
                <input class="nd_side-input" id="daterange" required="required"
                  type="text" name="daterange" value="[%
                    (params.exists('daterange') ? params.daterange : to_daterange('30 days')) | html_entity %]"/>
              </div>
            </fieldset>

            <fieldset>
              <legend class="nd_sidebar-legend">
                <label><em><strong>Options</strong></em></label>
              </legend>
              <div class="clearfix">
                <ul class="unstyled">
                  <li>
                    <em class="muted">Limit:</em><br/>
                    <select id="nd_mac-format" class="nd_side-select" name="limit">
                      [% FOREACH size IN [ '32', '64', '128', '256', '1024', '2048', '4096', '8192' ] %]
                      <option[% ' selected="selected"' IF (params.limit == size OR (NOT params.limit AND size == 256)) %]>
                        [% size %]</option>
                      [% END %]
                    </select>
                  </li>
                  <li>
                    <em class="muted">Order By:</em><br/>
                    <select id="nd_mac-format" class="nd_side-select" name="order">
                      [% FOREACH item IN [ 'IP', 'Age' ] %]
                      <option[% ' selected="selected"' IF params.order == item %]>[% item %]</option>
                      [% END %]
                    </select>
                  </li>
                </ul>
                <div class="clearfix input-prepend"
                    rel="tooltip" data-placement="left" data-offset="5" data-title="Applies to IPv4 Only">
                  <label class="add-on">
                  <input type="checkbox" id="never"
                    name="never"[% ' checked="checked"' IF params.never %]/>
                  </label>
                  <label class="nd_checkboxlabel" for="never">
                    <span class="nd_searchcheckbox uneditable-input">List IP's Never Seen</span>
                  </label>
                </div>
              </div>
            </fieldset>

            <button id="[% report.tag %]_submit" type="submit" class="btn btn-info">
             <i class="icon-search icon-large pull-left nd_navbar-icon"></i> Search IPs</button>

