first commit
This commit is contained in:
15
resources/views/profile/edit.blade.php
Normal file
15
resources/views/profile/edit.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('layouts.app')
|
||||
@section('title','Profil')
|
||||
@section('content')
|
||||
<div class="card p-4 col-lg-7">
|
||||
<form method="POST" action="{{ route('profile.update') }}">@csrf @method('PUT')
|
||||
<div class="row g-3">
|
||||
<div class="col-md-6"><label class="form-label">Nama</label><input name="name" class="form-control" value="{{ old('name', auth()->user()->name) }}" required></div>
|
||||
<div class="col-md-6"><label class="form-label">Email</label><input class="form-control" value="{{ auth()->user()->email }}" disabled></div>
|
||||
<div class="col-md-6"><label class="form-label">No Telefon</label><input name="no_telefon" class="form-control" value="{{ old('no_telefon', auth()->user()->no_telefon) }}"></div>
|
||||
<div class="col-md-6"><label class="form-label">Jawatan</label><input name="jawatan" class="form-control" value="{{ old('jawatan', auth()->user()->jawatan) }}"></div>
|
||||
</div>
|
||||
<div class="mt-4 d-flex gap-2"><button class="btn btn-primary">Simpan</button><a href="{{ route('password.edit') }}" class="btn btn-outline-secondary">Tukar Kata Laluan</a></div>
|
||||
</form>
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user