@if (\Auth::user()->type == 'super admin') @php $url='consultants' @endphp @else @php $url='save_consultant' @endphp @endif {{ Form::open([ 'url' => $url, 'method' => 'post', 'id' => 'users_form', 'autocomplete' => 'off', 'enctype' => 'multipart/form-data', ]) }} {{ Form::close() }}