Browse Source

Update profile view

Daniel Supernault 6 năm trước cách đây
mục cha
commit
63344ad6e5
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      resources/views/profile/private.blade.php

+ 5 - 1
resources/views/profile/private.blade.php

@@ -1,7 +1,11 @@
 @extends('layouts.app',['title' => $user->username . " on " . config('app.name')])
 
 @section('content')
-
+@if (session('error'))
+    <div class="alert alert-danger text-center font-weight-bold mb-0">
+        {{ session('error') }}
+    </div>
+@endif
 @include('profile.partial.private-info')
 
 <div class="container">