Dropdown helper for views.