-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a80a2f
commit 03c44ee
Showing
5 changed files
with
168 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
@extends('layouts.main') | ||
@section('container') | ||
<div class="pagetitle"> | ||
<h1>Perbaharui data pengguna</h1> | ||
<nav> | ||
<ol class="breadcrumb"> | ||
<li class="breadcrumb-item"><a href="#">Profile</a></li> | ||
<li class="breadcrumb-item active">Perbaharui data pengguna</li> | ||
</ol> | ||
</nav> | ||
</div><!-- End Page Title --> | ||
|
||
<section class="section dashboard"> | ||
<div class="row"> | ||
|
||
<!-- Left side columns --> | ||
<div class="col-lg-12"> | ||
<div class="row"> | ||
<div class="card"> | ||
<div class="card-body p-3"> | ||
|
||
<form class="row g-3" method="post" action="{{route('update-profile', ['profile' => auth()->user()->id]) }}"> | ||
@csrf | ||
@method('put') | ||
<div class="col-md-3"> | ||
|
||
<div class="py-2"> | ||
<label for="email" class="form-label">Email</label> | ||
<input type="text" value="{{ auth()->user()->email }}" disabled | ||
class="form-control" | ||
id="email"> | ||
|
||
</div> | ||
|
||
{{-- Username --}} | ||
<div class="py-2"> | ||
<label for="username" class="form-label">Username</label> | ||
<input type="text" value="{{ auth()->user()->username }}" disabled | ||
class="form-control | ||
@error('username') | ||
is-invalid | ||
@enderror | ||
" | ||
id="username"> | ||
|
||
@error('username') | ||
<label class="form-check-label invalid-feedback"> | ||
{{ $message }} | ||
</label> | ||
@enderror | ||
</div> | ||
|
||
|
||
|
||
{{-- end email --}} | ||
{{-- nama lengkap --}} | ||
|
||
<div class="py-2"> | ||
<label for="nama_lengkap" class="form-label">Nama Lengkap</label> | ||
<input type="text" value="{{ auth()->user()->nama_lengkap }}" | ||
class="form-control | ||
@error('nama_lengkap') | ||
is-invalid | ||
@enderror | ||
" | ||
id="nama_lengkap" name="nama_lengkap"> | ||
|
||
|
||
@error('nama_lengkap') | ||
<label class="form-check-label invalid-feedback"> | ||
{{ $message }} | ||
</label> | ||
@enderror | ||
|
||
</div> | ||
|
||
|
||
{{-- end nama lengkap --}} | ||
{{-- no telp --}} | ||
|
||
<div class="py-2"> | ||
<label for="no_telp" class="form-label">Nomer Telp</label> | ||
<input type="number" value="{{ auth()->user()->no_telp }}" | ||
class="form-control | ||
@error('no_telp') | ||
is-invalid | ||
@enderror | ||
" | ||
id="no_telp" name="no_telp"> | ||
|
||
|
||
@error('no_telp') | ||
<label class="form-check-label invalid-feedback"> | ||
{{ $message }} | ||
</label> | ||
@enderror | ||
|
||
</div> | ||
|
||
|
||
{{-- end no telp --}} | ||
|
||
|
||
</div> | ||
<div class="col-md-3"> | ||
|
||
{{-- password --}} | ||
|
||
<div class="py-2"> | ||
<label for="no_telp" class="form-label">Konfirmasi Password</label> | ||
<input type="password" | ||
class="form-control | ||
@error('password') | ||
is-invalid | ||
@enderror | ||
" | ||
id="password" name="password" > | ||
@error('password') | ||
<label class="form-check-label invalid-feedback"> | ||
{{ $message }} | ||
</label> | ||
@enderror | ||
|
||
</div> | ||
|
||
|
||
{{-- end no telp --}} | ||
|
||
|
||
</div> | ||
|
||
|
||
<div class="col-12"> | ||
<button type="submit" class="btn btn-primary">Submit</button> | ||
</div> | ||
</form> | ||
|
||
<!-- end card --> | ||
</div> | ||
</div> | ||
</div> | ||
</div><!-- End Left side columns --> | ||
|
||
</div> | ||
</section> | ||
@endsection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters