@extends('layouts.app') @section('content')

{{ __('Add topic') }}

@csrf
@include('commons/input', [ 'title' => 'Name', 'type' => 'text', 'name' => 'name', 'value' => old('name'), 'required' => true, 'errors' => $errors ])
@include('commons/textarea', [ 'title' => 'Description', 'name' => 'desc', 'value' => old('desc'), 'required' => false, 'errors' => $errors ])
{{ __('Format:') }} {{ __('png, jpg, jpeg') }}
{{ __('Dimensions:') }} 112x112
@if ($errors->has('icon')) {{ $errors->first('icon') }} @else
{{ __('The icon image is required.') }}
@endif
{{ __('Format:') }} {{ __('png, jpg, jpeg') }}
{{ __('Dimensions:') }} 315x185
@if ($errors->has('covervr')) {{ $errors->first('covervr') }} @else
{{ __('The icon 3d image is required.') }}
@endif
{{ __('Format:') }} {{ __('png, jpg, jpeg') }}
{{ __('Dimensions:') }} 220x256
@if ($errors->has('scover')) {{ $errors->first('scover') }} @else
{{ __('The scover image is required.') }}
@endif
{{ __('Format:') }} {{ __('png, jpg, jpeg') }}
{{ __('Dimensions:') }} 1024x1191
@if ($errors->has('cover')) {{ $errors->first('cover') }} @else
{{ __('The cover image is required.') }}
@endif

* required

@endsection