What is the easiest, most elegant and efficient way to create forms with Blade in Laravel 5.4? I am creating an application with many forms and most of the fields look the same:
<label for="name">Name:</label>
<input type="text" name="name" id="name" value="{{ old('name') }}">
@if ($errors->has('name'))
<ul>
@foreach($errors->get('name') as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
@endif
So, I wonder if there is a built-in mechanism for creating forms?
thank
source
share