$def with (items, selected=None) $ selected = selected or request.path