{!! Form::label('name', __('models/groups.fields.name').':') !!}
{!! Form::text('name', null, ['class' => 'form-control']) !!}
{!! Form::label('description', __('models/groups.fields.description').':') !!}
{!! Form::text('description', null, ['class' => 'form-control']) !!}
{!! Form::label('teacher_id', __('models/groups.fields.teacher_id').':') !!}
{!! Form::select('teacher_id', \App\Models\Admin\Teacher::pluck('name','id')->toArray(), request('teacher_id'), ['class' => 'form-control form-select '. ($errors->has('teacher_id')?' is-invalid ':'')]) !!}
@if ($errors->has('teacher_id'))
{{ $errors->first('teacher_id') }}
@endif
{!! Form::label('subject_id', __('models/groups.fields.subject_id').':') !!}
{!! Form::select('subject_id', \App\Models\Admin\Subject::pluck('name','id')->toArray(), request('subject_id'), ['class' => 'form-control form-select '. ($errors->has('subject_id')?' is-invalid ':'')]) !!}
@if ($errors->has('subject_id'))
{{ $errors->first('subject_id') }}
@endif