@extends('dashboard.layouts.index') @section('page_title') @lang('global.create_driver') @stop @section('breadcrumb') @stop @section('content')
@csrf

@lang('global.avatar')

@component('dashboard.components.edit_image' ) @endcomponent
@if(session()->has('error'))
× {{ session()->get('error') }}
@endif

@lang("global.driver_information")

@component('dashboard.components.edit_text_row' , [ "name" => "firstname", "type" => "text", "title" => __("global.firstname"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "lastname", "type" => "text", "title" => __("global.lastname"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "email", "type" => "email", "title" => __("global.email"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "phone_number", "type" => "text", "title" => __("global.phone_number"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "password", "type" => "password", "title" => __("global.password"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "age", "type" => "number", "title" => __("global.age"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "driverId", "type" => "text", "title" => __("global.driverId"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "name_car", "type" => "text", "title" => __("global.name_car"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "model_car", "type" => "text", "title" => __("global.model_car"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "color_car", "type" => "text", "title" => __("global.color_car"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "vehiclePlate", "type" => "text", "title" => __("global.vehiclePlate"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "year_of_manufacture", "type" => "text", "title" => __("global.year_of_manufacture"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "city", "type" => "text", "title" => __("global.city"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "cityar", "type" => "text", "title" => __("global.city_ar"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "latitude", "type" => "text", "title" => __("global.lat"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "longitude", "type" => "text", "title" => __("global.long"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "license_plate", "type" => "file", "title" => __("global.license_plate"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "car_insurance", "type" => "file", "title" => __("global.car_insurance"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "driving_license", "type" => "file", "title" => __("global.driving_license"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "front_drivingl_icense", "type" => "file", "title" => __("global.front_drivingl_icense"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "driving_license_from_behind", "type" => "file", "title" => __("global.driving_license_from_behind"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "not_sentenced", "type" => "file", "title" => __("global.not_sentenced"), "col" => "col-sm-10" ]) @endcomponent @component('dashboard.components.edit_text_row' , [ "name" => "medical_examination", "type" => "file", "title" => __("global.medical_examination"), "col" => "col-sm-10" ]) @endcomponent
@stop @push('js') @endpush