Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?= Html::activeCheckboxList($model, 'categories[news]', $model->categories2['news'], [
- 'item' => function($index, $label, $name, $checked, $value) use ($model) {
- $return = Html::checkbox($name, $checked, [
- 'value' => $value
- ]);
- return Html::tag('label', $return, ['class' => 'b-form__checkbox']);
- },
- ])?>
- <?= Html::activeCheckboxList($model, 'categories[photoreports]', $model->categories2['photoreports'], [
- 'item' => function($index, $label, $name, $checked, $value) use ($model) {
- $return = Html::checkbox($name, $checked, [
- 'value' => $value
- ]);
- return Html::tag('label', $return, ['class' => 'b-form__checkbox']);
- },
- ])?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement