@extends('layouts.app') @section('content')
{{-- {!! __('user.to_apply.title') !!} --}}
@include('video.layout.howto')
{!! __('user.to_apply.upload.title') !!} @if(!stripos(__($competition['name']), 'competition.name'))
{!! __($competition['name']) !!}
@endif
@if(Session::has('success_message')) @endif @if(Session::has('error_message')) @endif
@if(!stripos(__($competition['description']), 'competition.description'))
{!! __($competition['description']) !!}
@endif
{{ __('user.to_apply.description') }}
{!! __('user.to_apply.title') !!}
@if(isset($pending_registration->id))
@method('PATCH') @else @endif @csrf
{!! __('form.video.name.max') !!} @if( Request::ajax() ) @else @error('name') {!! $message !!} @enderror @endif
@if( Request::ajax() ) @else @error('url') {!! $message !!} @enderror @endif
{{ __('video.preview.title') }}
@if( Request::ajax() ) @else @error('category') {!! $message !!} @enderror @endif
@include('video/counter_small')
@if(isset($pending_registration->status) && $pending_registration->status == 'pending')
@csrf @method('PATCH') @method('DELETE')
@else
@endif {{--onclick="saveSubscribeData($('#video_name').val(),$('#video_url').val(),$('#video_category').val());"--}}
@push('scripts') @endpush @endsection