$def with (name, query, fields, BASE_URL='/dbadmin')
$var selected: admin
$var css = ["admin.css"]
$code:
    title = "Admin - %s" % name
    hierarchy = (storage(link=BASE_URL, caption='dbadmin'),
                 storage(link=BASE_URL + '/' + name, caption=name))
$var hierarchy = hierarchy
$var title = title

<div id="admin">
    <form method="GET" action="">
        <div id="filter">
            <label for="q">filter:</label>
            <input type="text" name="q" id="q"/>
            <input type="submit" value="Filter"/>
        </div>
        <div class="clear"></div>
    </form>

    $:render.dbadmin.listmodel(title, query, fields, BASE_URL=BASE_URL+'/'+name)
</div>
