@extends('backend.template') @section('content')

{{ label('Add Users') }}

@csrf
{{createText("name","name","Name",'',$editable?$data->name:'')}}
{{createText("email","email","Email",'',$editable?$data->email:'')}}
{{createText("username","username","Username",'',$editable?$data->username:'')}}
{{createPassword("password","Password",'',$editable?$data->password:'')}}
{{createText("remember_token","remember_token","Remember Token",'',$editable?$data->remember_token:'')}}
{{createCustomSelect('tbl_roles', 'title', 'role_id', $editable?$data->roles_id:'', 'Roles Id','roles_id', 'form-control select2','status<>-1')}}
{{createCustomSelect('tbl_branches', 'title', 'branch_id', $editable?$data->branches_id:'', 'Branches Id','branches_id', 'form-control select2','status<>-1')}}
{{createCustomSelect('tbl_employees', 'title', 'employee_id', $editable?$data->employees_id:'', 'employees Id','employees_id', 'form-control select2','status<>-1')}}
@endsection