master
ブランチ master
LittleBeast / view / comment.maron
883 B、18行 生 Blame 履歴
1{@ include(common/header) @}
2 <section class="comments">
3 <div class="errormes">{{ $error }}</div>
4{@ if (isset($thread) && isset($body)) @}
5 <h2>「{{ $title }}」へのコメント</h2>
6 <form class="comment-form" method="post" action="/comments">
7 <input type="hidden" name="csrf_token" value="{{ $csrf }}" />
8 <input type="hidden" name="thread" value="{{ $thread }}" />
9 <input type="hidden" name="parent" value="{{ $parent }}" />
10 <textarea name="body" rows="8" maxlength="{{ $maxLength }}" required>{{ $body }}</textarea>
11 <div class="comment-form-bottom"><button>もう一度送信する</button></div>
12 </form>
13 <p><a href="/{{ $thread }}#comments">記事に戻る</a></p>
14{@ else @}
15 <p><a href="{{ $back }}">戻る</a></p>
16{@ endif @}
17 </section>
18{@ include(common/footer) @}