0
 echo $this->Form->input('name_group', array('multiple' => 'checkbox', 'options' => $val,'label' => false,'class' => 'col-lg-4 col-md-4 col-sm-4 col-xs-6 custom_no_padding custom_checkbox','selected' => $selected));

そして、以下のように出力したい:

<div class="col-lg-4 col-md-4 col-sm-4 col-xs-6 custom_no_padding custom_checkbox">
<input type="checkbox">
<label><a href="test1">Value1</label>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-6 custom_no_padding custom_checkbox">
<input type="checkbox"><label><a href="test2">Value2</label>
</div>
4

0 に答える 0