{!! Form::label('name', trans('app.form.category_name') . '*') !!} {!! Form::text('name', null, ['class' => 'form-control makeSlug', 'placeholder' => trans('app.placeholder.category_name'), 'required']) !!}
{!! Form::label('category_sub_group_id', trans('app.form.category_sub_group') . '*') !!} {!! Form::select('category_sub_group_id', $catList, null, ['class' => 'form-control select2-categories', 'placeholder' => trans('app.placeholder.category_sub_group'), 'required']) !!}
{!! 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('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('description', trans('app.form.description') . trans('app.form.optional'), ['class' => 'with-help']) !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.category_description'), 'rows' => '1']) !!}
{!! Form::label('attrsList[]', trans('app.attributes'), ['class' => 'with-help']) !!} {!! Form::select('attrsList[]', $attrsList, null, ['class' => 'form-control select2-normal', 'multiple' => 'multiple']) !!}
{!! Form::label('exampleInputFile', trans('app.form.cover_img'), ['class' => 'with-help']) !!} @if (isset($category) && $category->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') }}
{!! Form::label('exampleInputFile', trans('app.form.featured_image'), ['class' => 'with-help']) !!} @if (isset($category) && $category->featureImage) {{ trans('app.featured_image') }} {!! Form::checkbox('delete_image[feature]', 1, null, ['class' => 'icheck']) !!} {{ trans('app.form.delete_image') }} @endif
{{ trans('help.featured_img_size') }}
{{ trans('app.form.upload') }}
{!! 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']) !!}

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