@extends('layouts.app')
@section('content')
    <table class="table table-responsive table-bordered">
        <tr>
            <th>Name</th>
            <th>Dob</th>
            <th>Own</th>
            <th>Active</th>
            <th>Options</th>
        </tr>
        @each('animal.index.item', $animals, 'animal', 'raw|There are no items.')
    </table>
    {{$animals->links()}}
@stop
@extends('layouts.app')
@section('content')
    @if(count($animals) == 0)
        {{__('There are no animals.')}}
    @else
    <table class="table table-responsive table-bordered">
        <tr>
            <th>{{__('Name')}}</th>
            <th>{{__('Dob')}}</th>
            <th>{{__('Own')}}</th>
            <th>{{__('Active')}}</th>
            <th>{{__('Options')}}</th>
        </tr>
        @each('animal.index.item', $animals, 'animal')
    </table>
    {{$animals->links()}}
    @endif
@stop
Write out message if there are no animals. Strings put into translation function.
Write out message if there are no animals.
Strings put into translation function.
