Can't you just create the Form open and Form close for each specific page, and include only the form fields? Something like
{{ Form::open(['route' => 'my.route']) }}
@include('form_fields')
{{ Form::close() }}
You can also do
@include('myform', array('var1' => 'value', 'var2' => 'othervalue'));
to send variables to the included file. Then inside that, do
{{ Form::open(['route' => $var1]) }}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community