added template tag for selecting a folder