@extends('layouts.app') @section('title', 'Add New Topic') @section('content')

Add New Topic

Create a new topic and assign it to a subject

Topic Information

Fill in the details below to create a new topic

@csrf
@error('subject_id')
{{ $message }}
@enderror

Choose which subject this topic belongs to

@error('name')
{{ $message }}
@enderror

Choose a clear and descriptive name for the topic

Cancel

Tips for creating topics

  • Choose the appropriate subject for better organization
  • Use specific and descriptive topic names
  • Consider the learning sequence when naming topics
  • Keep topic names concise but meaningful
@if($subjects->count() > 0)

Available Subjects

@foreach($subjects as $subject)

{{ $subject->name }}

{{ $subject->topics_count ?? 0 }} topics

@endforeach
@endif
@endsection