update alert messages and adjust font size in profil view
This commit is contained in:
parent
b3cfcf4a0f
commit
3cb9e6e767
|
|
@ -2,6 +2,7 @@
|
||||||
@section('title', 'Profil')
|
@section('title', 'Profil')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
|
{{-- ALERT SUKSES --}}
|
||||||
@if (session('success'))
|
@if (session('success'))
|
||||||
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
<div class="alert alert-success alert-dismissible fade show" role="alert">
|
||||||
{{ session('success') }}
|
{{ session('success') }}
|
||||||
|
|
@ -9,6 +10,14 @@
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
{{-- ALERT ERROR UMUM (Jika ada error selain validasi modal) --}}
|
||||||
|
@if (session('error'))
|
||||||
|
<div class="alert alert-danger alert-dismissible fade show" role="alert">
|
||||||
|
{{ session('error') }}
|
||||||
|
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
|
|
||||||
<section id="multiple-column-form">
|
<section id="multiple-column-form">
|
||||||
<div class="row match-height">
|
<div class="row match-height">
|
||||||
|
|
||||||
|
|
@ -86,7 +95,7 @@ class="form-control @error('email', 'updateProfil') is-invalid @enderror"
|
||||||
<div class="mb-2">
|
<div class="mb-2">
|
||||||
<label class="form-label">Peran</label>
|
<label class="form-label">Peran</label>
|
||||||
<input type="text" class="form-control bg-light"
|
<input type="text" class="form-control bg-light"
|
||||||
value="{{ ucfirst($user->role ?? 'Admin') }}" style="font-size: 13px;"
|
value="{{ ucfirst($user->role ?? 'Admin') }}" style="font-size: 14px;"
|
||||||
readonly>
|
readonly>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -97,7 +106,7 @@ class="form-control @error('email', 'updateProfil') is-invalid @enderror"
|
||||||
<input type="text"
|
<input type="text"
|
||||||
class="form-control @error('alamat', 'updateProfil') is-invalid @enderror"
|
class="form-control @error('alamat', 'updateProfil') is-invalid @enderror"
|
||||||
name="alamat" value="{{ old('alamat', $user->alamat) }}"
|
name="alamat" value="{{ old('alamat', $user->alamat) }}"
|
||||||
style="font-size: 13px;" placeholder="Masukkan Alamat Lengkap">
|
style="font-size: 14px;" placeholder="Masukkan Alamat Lengkap">
|
||||||
|
|
||||||
@error('alamat', 'updateProfil')
|
@error('alamat', 'updateProfil')
|
||||||
<div class="invalid-feedback">{{ $message }}</div>
|
<div class="invalid-feedback">{{ $message }}</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue