How to get columns with mutil checkbox

I have a column of checkboxes which works fine
My question is that I need this is 2 or 3 columns as the 1 column is too long. There is about 30 checkboxes in this data in 1 column.

// Controller
$subjects = $this->Tutors->Subjects->find(‘list’, [‘limit’ => 200]);

echo $this->Form->input(‘subjects._ids’, [‘multiple’ => ‘checkbox’]);

1 Like