my-idlers/resources/views/components/back-btn.blade.php

5 lines
133 B
PHP
Raw Permalink Normal View History

<a href="{{$route}}" class="btn btn-success btn-sm mx-1">
<i class="fas fa-arrow-left me-1"></i>
{{$text ?? 'Go back'}}
</a>