@php $disabled = isset($disabled) ? 'disabled' : '' @endphp @php $departments = isset($departments) ? $departments : [] @endphp @php $first_name = isset($first_name) ? $first_name : null @endphp @php $last_name = isset($last_name) ? $last_name : null @endphp @php $email = isset($email) ? $email : null @endphp @php $department = isset($department) ? $department : null @endphp @php $postUrl = isset($postUrl) ? $postUrl : route("homepage")."#". url('user') @endphp {!! Form::open(['method' => 'POST', 'class' => 'form-horizontal', 'url' => $postUrl ]) !!}