Updated account index blade view

uses alert component for response
This commit is contained in:
cp6 2022-10-31 16:01:16 +11:00
parent 9d33f8ad6e
commit a8e1235922

View File

@ -3,14 +3,9 @@
<x-slot name="header">
Edit account
</x-slot>
<div class="container">
<x-card class="shadow mt-3">
@if ($message = Session::get('success'))
<div class="alert alert-success" role="alert">
<p class="my-1">{{ $message }}</p>
</div>
@endif
<x-response-alerts></x-response-alerts>
<form action="{{ route('account.update',Auth::user()->id) }}" method="POST">
@csrf
@method('PUT')