{{-- Server copy of the main comment input: must match comments.js renderInput() + setupEmojiPicker() (users) or renderGuestInput() (guests) exactly, so the client re-render swaps in an identical box without any layout shift --}} @if(session)
@if(comment_max_length !== null && comment_max_length !== undefined)0 / {{ comment_max_length }}@endif @if(allow_fileupload_comments && !session.is_anon || allow_fileupload_comments && anon_permissions.comment_attachments !== false)@endif @if(enable_comment_polls)@endif @if(is_mod_or_admin)@endif
@else
@endif