{!! Form::label('name', trans('app.form.category_name') . '*', ['class' => 'with-help']) !!} {!! Form::text('name', null, ['class' => 'form-control makeSlug', 'placeholder' => trans('app.placeholder.category_name'), 'required']) !!}
{!! Form::label('order', trans('app.form.position'), ['class' => 'with-help']) !!} {!! Form::text('order', isset($categoryGroup) ? null : 99, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.position')]) !!} {{-- {!! Form::number('order', null, ['class' => 'form-control', 'placeholder' => trans('app.placeholder.position')]) !!} --}}
{!! Form::label('slug', trans('app.form.slug') . '*') !!} {!! Form::text('slug', null, ['class' => 'form-control slug', 'placeholder' => trans('app.placeholder.slug'), 'required']) !!}
{!! Form::label('icon', trans('app.form.icon')) !!}
{!! Form::text('icon', isset($categoryGroup) ? null : 'fa-cube', ['class' => 'form-control iconpicker-input', 'placeholder' => trans('app.placeholder.icon'), 'data-placement' => 'bottomRight']) !!}
{!! Form::label('active', trans('app.form.status') . '*') !!} {!! Form::select('active', ['1' => 'Active', '0' => 'Inactive'], null, ['class' => 'form-control select2-normal', 'placeholder' => trans('app.placeholder.status'), 'required']) !!}
{!! Form::label('description', trans('app.form.description'), ['class' => 'with-help']) !!} {!! Form::textarea('description', null, ['class' => 'form-control summernote-without-toolbar', 'placeholder' => trans('app.placeholder.description'), 'rows' => '2']) !!}
{!! Form::label('exampleInputFile', trans('app.background_image'), ['class' => 'with-help']) !!} @if (isset($categoryGroup) && $categoryGroup->backgroundImage) @endif
{{ trans('app.form.upload') }}
{!! Form::label('uploadFile1', trans('app.cover_image'), ['class' => 'with-help']) !!} @if (isset($categoryGroup) && $categoryGroup->coverImage) @endif
{{ trans('help.cover_img_size') }}
{{ trans('app.form.upload') }}
{!! Form::label('uploadFile2', trans('app.icon_image'), ['class' => 'with-help']) !!} @if (isset($categoryGroup) && $categoryGroup->logoImage) @endif
{{ trans('help.icon_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') }}