Added error msg
This commit is contained in:
parent
d43ccb2a78
commit
5f7c91a507
|
@ -29,6 +29,9 @@
|
|||
<form method="post" action="{{ route("washing-reservations.store") }}" id="event-container" class="events-container">
|
||||
@csrf
|
||||
</form>
|
||||
@if(count(\App\WashingMachine::all()) < 1)
|
||||
<p style="margin: 0 18px;">Der er ingen vaskemaskiner.</p>
|
||||
@endif
|
||||
</div>
|
||||
</main>
|
||||
@endsection
|
||||
|
|
Loading…
Reference in New Issue