@extends('design_1.web.layouts.app') @push('styles_top') @endpush @section('content')
{{-- Hero & Cover --}} @include('design_1.web.forums.topics.create.includes.hero')
{{ csrf_field() }}
@error('title')
{{ $message }}
@enderror
@error('forum_id')
{{ $message }}
@enderror
@error('description')
{{ $message }}
@enderror
{{ (!empty($topic) and !empty($topic->cover)) ? getFileNameByPath($topic->cover) : '' }}
@error('cover')
{{ $message }}
@enderror

{{ trans('update.attachments') }} ({{ trans('public.optional') }})

@if(!empty($topic) and !empty($topic->attachments) and count($topic->attachments)) @foreach($topic->attachments as $topicAttachment)
{{ getFileNameByPath($topicAttachment->path) }}
@endforeach @endif
{{ trans('update.forum_terms') }}
{{ trans('update.create_topic_forum_terms_hint') }}
@endsection @push('scripts_bottom') @endpush