@extends('_layout.main') @section('content') @include('components.page-indicator', [ 'page' => 'Pengaturan', 'path' => ['Pengaturan', 'Profile'], ])

Profile

@csrf @method('PUT') @include('components.input', [ 'label' => 'Username', 'name' => 'user[username]', 'value' => $user->username, ]) @include('components.input', [ 'label' => 'Refferals', 'name' => 'refferal', 'value' => $user->username, ]) @include('components.input', [ 'label' => 'Nama Lengkap', 'name' => 'user[name]', 'value' => $user->name, ]) @include('components.input', [ 'label' => 'Alamat', 'name' => 'profile[address]', 'value' => $user->profile[0]->address, ]) @include('components.input', [ 'label' => 'Negara', 'name' => 'user[country]', 'value' => $user->country, ]) @include('components.input', [ 'label' => 'Alamat Email', 'name' => 'user[email]', 'value' => $user->email, ])
🇮🇩
@include('components.input', [ 'label' => 'Alamat Bitcoin', 'name' => 'profile[bitcoinAddress]', 'value' => $user->profile[0]->bitcoinAddress, ]) @include('components.input', [ 'label' => 'Nama Bank', 'name' => 'profile[bank]', 'value' => $user->profile[0]->bank, ])
Rubah Password
@csrf @method('PUT') @include('components.input', [ 'label' => 'Password Dulu', 'name' => 'user[currentPassword]', ]) @include('components.input', [ 'label' => 'Password Baru', 'name' => 'user[newPassword]', ]) @include('components.input', [ 'label' => 'Konfirmasi Password Baru', 'name' => 'user[confirmPassword]', ])
@endsection