{{-- Pushed in header. --}} @push('styles') @endpush @push('scripts') @vite('resources/js/submissions.js') @endpush {{-- Server side errors summary --}} @if($errors->any()) @foreach( $errors->all() as $error ) @endforeach @endif
@include('submissions.fs-upload') @if( section_must_not_be( 'translations', $section ) )
@error('entry_title') @enderror
@else
@error('entry_title') @enderror
@endif @if( section_must_be( 'romhacks', $section ) )
@foreach( $modifications as $modif ) @endforeach
@endif @if( section_must_be( ['romhacks', 'translations'], $section ) )
{{-- TODO: Add max to the date --}}
@foreach( $statuses as $status ) @endforeach
@endif @if( section_must_be( 'translations', $section ) ) @error('languages') @enderror @error('languages.*') @enderror @endif
@error('description') @enderror
@error('game_id') @enderror @error('new-game-title') @enderror @error('new-game-platform') @enderror @error('new-game-genre') @enderror @if( section_must_not_be( 'translations', $section ) ) @error('languages') @enderror @error('languages.*') @enderror @endif @error('gallery') @enderror @error('gallery.*') @enderror @error('authors') @enderror @error('new-authors') @enderror
@csrf