@extends('backend.layouts.master') @section('pageTitle') Class Profile @endsection @section('bodyCssClass') @endsection @section('pageContent')

Class Profile

@if($profile) Update @else Add @endif Class Profile * Marks are required feild

@csrf @if($profile) {{ method_field('PATCH') }} @endif
{{ $errors->first('name') }}
{{ $errors->first('image_sm') }}
{{ $errors->first('image_lg') }}
{{ $errors->first('teacher') }}
{{ $errors->first('room_no') }}
{{ $errors->first('capacity') }}
{{ $errors->first('shift') }}
{{ $errors->first('short_description') }}
{{ $errors->first('description') }}
{{ $errors->first('outline') }}
{{--@if (count($errors) > 0)--}} {{--
--}} {{--
    --}} {{--@foreach ($errors->all() as $error)--}} {{--
  • {{ $error }}
  • --}} {{--@endforeach--}} {{--
--}} {{--
--}} {{--@endif--}}
@endsection @section('extraScript') @endsection