{!! Form::model($intake, ['url' => action('BusinessIntakeController@post_drivers_component', compact('business', 'intake')), 'class' => 'intake_form drivers_form', 'data-section' => 'drivers']) !!}
{{ Form::label_title('Industry') }}
@if (count(session()->getOldInput()) > 0 ) @include('shared.forms._driver_component_edit', ['btn_title' => 'Add a Driver', 'selected_industry' => \App\Models\Industry::find(Request::old('industry')), 'selected_income_streams' => \App\Models\Income_Stream::whereIn('income_stream', Request::old('income_stream'))->get() ] ) @else @include('shared.forms._driver_component_edit', ['btn_title' => 'Add a Driver', 'selected_industry' => $selected_industry, 'selected_income_streams' => $selected_income_streams] ) @endif
{{ Form::button_save() }} {{ Form::button_link('Cancel', action('BusinessIntakeController@drivers_component', [$business->business,$intake->business_intake])) }}
{!! Form::close() !!}