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">
|
||||
@csrf
|
||||
</form>
|
||||
@if(count(\App\WashingMachine::all()) < 1)
|
||||
<p style="margin: 0 18px;">Der er ingen vaskemaskiner.</p>
|
||||
@endif
|
||||
</div>
|
||||
</main>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user