Added frame selector to template form