update alert messages and adjust font size in profil view

This commit is contained in:
LailaWulandarii 2025-12-31 00:12:06 +07:00
parent b3cfcf4a0f
commit 3cb9e6e767
1 changed files with 11 additions and 2 deletions

View File

@ -2,6 +2,7 @@
@section('title', 'Profil')
@section('content')
{{-- ALERT SUKSES --}}
@if (session('success'))
<div class="alert alert-success alert-dismissible fade show" role="alert">
{{ session('success') }}
@ -9,6 +10,14 @@
</div>
@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">
<div class="row match-height">
@ -86,7 +95,7 @@ class="form-control @error('email', 'updateProfil') is-invalid @enderror"
<div class="mb-2">
<label class="form-label">Peran</label>
<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>
</div>
</div>
@ -97,7 +106,7 @@ class="form-control @error('email', 'updateProfil') is-invalid @enderror"
<input type="text"
class="form-control @error('alamat', 'updateProfil') is-invalid @enderror"
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')
<div class="invalid-feedback">{{ $message }}</div>