@extends('admin.layouts.master') @section('content')

{{ trans('inspector::lang.inspector_settings') }}

{!! Form::open(['route' => ['admin.package.config.update', 'inspector'], 'files' => true, 'class' => 'form-horizontal', 'id' => 'form', 'data-toggle' => ' validator']) !!}
{!! Form::label('inspector_keywords', trans('inspector::lang.inspector_keywords') . ':*', ['class' => 'with-help control-label']) !!}
@php $inspector_keywords = get_from_option_table('inspector_keywords', []); $inspector_keywords = array_combine($inspector_keywords, $inspector_keywords); @endphp {!! Form::select('inspector_keywords[]', $inspector_keywords, array_keys($inspector_keywords), ['class' => 'form-control select2-keywords', 'multiple' => 'multiple', 'placeholder' => trans('inspector::lang.inspector_keywords'), 'required']) !!}
{{--
{!! Form::label('inspector_models[]', trans('inspector::lang.models') . ':*', ['class' => 'with-help col-sm-5 control-label']) !!}
{!! Form::select('inspector_models[]', $models , get_from_option_table('inspector_models', []), ['class' => 'form-control select2-normal', 'multiple' => 'multiple', 'required']) !!}
{{ trans('inspector::lang.select_models') }}
--}} {!! Form::submit(trans('app.update'), ['class' => 'btn btn-lg btn-flat btn-new pull-right']) !!}
{!! Form::close() !!}
@endsection