I have a set of categories. Some categories have sub-categories. All - categories and sub-categories are the same class - Category.
Can I list all the categories in a form like this:
I was unable to render this via CheckboxsetField and I cannot figure out other way to realise this.
P.S. sorry for my english