Commit 1167f87d authored by cyprien's avatar cyprien
Browse files

update popup

parent eec602b0
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -5,6 +5,11 @@
    <div style="display : flex; flex-direction: row">
        <div style="width: 50%; margin-right: 50px; height: 100%; display:flex; align-items: center; flex-direction: column">
            <img src="{{ asset('/images/Diver1.png') }}" alt="Diver illustration">
            <div style="width: 100%">
                @if(isset($error))
                    <x-popup bgPopup="var(--bad)">{{$error}}</x-popup>
                @endif
            </div>
        </div>

        <form action="/dive/update/{{$dive->DS_CODE}}" method="POST" style="width: 70%;">
@@ -187,9 +192,6 @@ class="clickableDelete clickable block w-full max-w-xs mx-auto bg-red-400 hover:
                </form>
            </div>
        </form>
        @if(isset($error))
            <x-popup>{{$error}}</x-popup>
        @endif
    </div>

    <script src="{{ asset('/js/create_div.js') }}"></script>