@php
$rating = round($instructor->courses->avg('avg_rating'));
@endphp
@for ($i = 1; $i <= 5; $i++)
@if ($i <= $rating)
@else
@endif
@endfor
({{ number_format($instructor->courses->avg('avg_rating'), 1) }}
{{ __('Ratings') }})
{{ $instructor->name }}
{{ $instructor->job_title }}
{{ $instructor->short_bio }}
@if ($instructor->facebook)
@endif
@if ($instructor->twitter)
@endif
@if ($instructor->linkedin)
@endif
@if ($instructor->github)
@endif