Skip to content

Commit 77da22f

Browse files
committed
Print errors if they exist (temp)
Signed-off-by: snipe <[email protected]>
1 parent 7830ffe commit 77da22f

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

resources/views/hardware/audit.blade.php

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,15 +155,8 @@
155155
</div> <!--/.col-md-7-->
156156
</div>
157157

158-
@if ($message = session()->get('error'))
159-
<div class="col-md-12">
160-
<div class="alert alert alert-danger fade in">
161-
<button type="button" class="close" data-dismiss="alert">&times;</button>
162-
<i class="fas fa-exclamation-triangle faa-pulse animated"></i>
163-
<strong>{{ trans('general.error') }}: </strong>
164-
{{ $message }}
165-
</div>
166-
</div>
158+
@if ($errors->any())
159+
<?php print_r($errors, true); ?>
167160
@endif
168161

169162
@stop

0 commit comments

Comments
 (0)