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

{{ $board->name }} 글 수정


@if($boardMeta->write_header_content)
{!! $boardMeta->write_header_content !!}
@endif {{-- 게시글 수정 --}}
@csrf @method('PUT') {{-- 추가기능 --}} @if((IS_ADMIN || !$boardMeta->use_personal)) @endif {{-- 분류 --}} @if($boardMeta->use_category && $category) @endif {{-- 익명 게시판 --}} @guest @endguest {{-- 제목 --}} {{-- 내용 --}} {{-- Tags --}} @if($boardMeta->use_post_tag) @endif {{-- Links --}} @for ($i = 0; $i < ($boardMeta->link_num ?? 0); $i++) @php $linked = $post->links->get($i); if($linked) { $key = $linked->id; $link = $linked->url; }else{ $key = ($i + 1); $link = (old("link")[$i] ?? null); } @endphp @endfor {{-- Files --}} @if($boardMeta->use_upload_file) @for ($i = 0; $i < ($boardMeta->upload_file_num ?? 0); $i++) @endfor @endif {{-- Captcha --}} @if($boardMeta->use_post_captcha) @endif
@admin @if(!$boardMeta->use_personal) {{-- 1:1 게시판 전체공지는 제외 --}}
is_speaker) == '1') checked @endif />
@endif
is_notice) == '1') checked @endif />
@endadmin @if($boardMeta->use_post_secret == '1')
use_post_secret_selected || old('is_secret', $post->is_secret) == '1') checked @endif />
@endif
{!! htmlEditor('content', old('content', $post->content), 'form-control dhtml-editor', $boardMeta->use_post_dhtml, false, $boardMeta->post_default_content, 8, 'content'); !!}
@if($file = $post->files->get($i)) @if($file->is_image) @else @endif {{ $file->origin_name }}
@else upload_only_img_file) accept="image/gif, image/jpeg, image/png" @elseif($boardMeta->upload_file_extension) accept="{{ $boardMeta->upload_file_extension }}" @endif /> 0 / {{ $boardMeta->upload_file_max_size }}MB @endif
{!! captcha_image_html('PostEditCaptcha') !!}

이용약관게시판 규칙에 위배되는 경우, 이용에 제한을 받을 수 있습니다.
취소
@endsection @push('styles') @if($boardMeta->use_post_captcha) @endif @endpush @push('scripts') @endpush