@extends('index')

@section('subtitle')
    Kelola User > Edit User
@endsection

@section('content')
    <div class="form-tambah">
        <h4> Edit User </h4>
        <form method="POST" action="{{url('kelola/user/'.$user->id.'/update')}}" enctype="multipart/form-data">
            {{csrf_field()}}
            <div class="input-group">
                <input type="text" name="namaAsli" value="{{$user->nama_asli}}" placeholder="Nama Asli"></input><br>    
            </div>
            
            <div class="input-group">
                <input type="text" name="username" value="{{$user->username}}" placeholder="Username"></input><br>    
            </div>
            
            <div class="input-group">
                <input type="password" name="password" value="{{$user->password}}" placeholder="Password"></input><br>
            </div>
            
            <div class="input-group">
                <input type="submit" value="Update">
            </div>
        </form>
    </div>
@endsection