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