@extends('layouts.app') @section('content')
Add New Subject
@foreach($subjects as $item) @if (auth()->user()->id == $item->user_id)
{{ $item->code }}

{{ $item->subject }}

Time : {{ $item->time_start }} - {{ $item->time_end }}
{{ $item->section }}

@endif @endforeach
@endsection