@php $is_reply = isset($reply_comment); $is_known_user = !is_null(Auth::user()) @endphp {{-- Show a previous of the comment we're replying to --}} @if ($is_reply)
@include (Theme::viewName('partials.photo_single_comment'), ['comment' => $reply_comment, 'is_reply' => true])
@endif
{{ csrf_field() }} @if ($is_reply) @endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif @if ($is_known_user) @lang('gallery.not_you_logout') @endif
@if ($errors->has('comment'))
{{ $errors->first('comment') }}
@endif
@if ($is_reply) @else @endif
@push('scripts') @endpush