Почему бы не пойти так:
Шаг 1: Создать папку с именем partials
Шаг 2: Создать _form_field.blade.php
в папке partials
Шаг 3:Скопируйте и вставьте приведенный ниже код во вновь созданный файл
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label class="control-label">{{ $labelName }}</label>
<input name="{{ $input['name'] }}" type="{{ $input['type'] }}" class="{{ $input['class'] }}" />
</div>
</div>
Теперь вы можете использовать этот файл и включать его в любое место в ваших представлениях.Вот так:
home.blade.php
@extends('your_main_layout_file_here')
@section('content')
<form action="{{ route('yourPostRoute') }}" method="POST">
@csrf
@include('partials._form_field', [
'labelName' => 'Price',
'input' => [
'type' => 'number',
'name' => 'Price',
'class' => 'form-control'
]
])
</form>
@endsection
Надеюсь, это поможет вам.