@extends('layouts.app') @section('content')

Edit User

@csrf
{{ createText('name', 'name', 'Name', '', $data->name) }}
{{ createText('username', 'username', 'Username', '', $data->username) }}
{{ createPassword('password', 'Password', '', $data->password) }}
{{ createText('email', 'email', 'Email', '', $data->email) }}
{{ createCustomSelect( 'tbl_roles', 'title', 'role_id', $data->roles_id, 'Role', 'roles_id', 'form-control select2', 'status<>-1', ) }}
@endsection