<%= form.input :categories, :collection => website.categories.all.collect { |c| ["#{'  -- ' * c.depth}#{c.name}", c.id ] }, :as => :check_boxes %>

This produces a select with the entire tree in it.