@extends('layouts.student') @section('content')
Subjects
@foreach ($topics as $topic)

{{ $topic->title }} @if ($topic->favtopic($topic->id) < 1) @else @endif

{{ $topic->grade->title ?? null }}
is_paid == 1) style="color:red" @endif> {{ $topic->is_paid == 1 ? "Premium" : 'Free' }}
{{ $topic->subject->title ?? null }}
@foreach ($topic->topictags as $tags) {{ $tags->tag->title }} @endforeach
@endforeach
@include('includes.admin_footer')
@endsection @section('scripts') @endsection