{!! Form::label('category_group_id', trans('app.form.category_group') . '*') !!} {!! Form::select('category_group_id', $catGroups, session('convenient_group_id') ?? null, ['class' => 'form-control select2', 'placeholder' => trans('app.placeholder.category_group'), 'required']) !!}
{!! Form::label('name', trans('app.form.category_sub_grp_name') . '*') !!} {!! Form::text('name', null, ['class' => 'form-control makeSlug', 'placeholder' => trans('app.placeholder.category_sub_grp_name'), 'required']) !!}
{!! Form::label('active', trans('app.form.status') . '*', ['class' => 'with-help']) !!} {!! Form::select('active', ['1' => 'Active', '0' => 'Inactive'], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
{!! Form::label('order', trans('app.form.position'), ['class' => 'with-help']) !!} {!! Form::number('order', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.position')]) !!}
{!! Form::label('slug', trans('app.form.slug') . '*', ['class' => 'with-help']) !!} {!! Form::text('slug', null, ['class' => 'form-control slug', 'placeholder' => trans('app.placeholder.slug'), 'required']) !!}
{!! Form::label('meta_title', trans('app.form.meta_title'), ['class' => 'with-help']) !!} {!! Form::text('meta_title', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.meta_title')]) !!}
{!! Form::label('meta_description', trans('app.form.meta_description'), ['class' => 'with-help']) !!} {!! Form::textarea('meta_description', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.meta_description'), 'rows' => '1']) !!}
{!! Form::label('exampleInputFile', trans('app.form.cover_img'), ['class' => 'with-help']) !!} @if (isset($categorySubGroup) && $categorySubGroup->coverImage) {{ trans('app.cover_image') }} {!! Form::checkbox('delete_image[cover]', 1, null, ['class' => 'icheck']) !!} {{ trans('app.form.delete_image') }} @endif
{{ trans('help.cover_img_size') }}
{{ trans('app.form.upload') }}

* {{ trans('app.form.required_fields') }}