{{ __('Venue Selected Categories') }} | {{ __('Step') }} |
---|---|
{!! Form::checkbox(
'data[Settings][categories][]',
$category->id,
(
$data->Settings->categories &&
in_array($category->id, $data->Settings->categories) ?
true : false
)
) !!}
{!! Form::label(
'data[Settings][categories][]',
$category->name
) !!}
|
{!! Form::number( 'data[Settings][content][step][categories][' . $category->id . ']', ( isset($data->Settings->content->step->categories->{$category->id}) && $data->Settings->content->step->categories->{$category->id} ? $data->Settings->content->step->categories->{$category->id} : null ), [ 'min' => 1, 'max' => 2 ] ) !!} | @endforeach