laravel-learn-bbs/resources/views/topics/_reply_box.blade.php

12 lines
564 B
PHP
Raw Permalink Normal View History

2018-01-15 15:59:30 +00:00
@include('common.error')
<div class="reply-box">
<form action="{{ route('replies.store') }}" method="POST" accept-charset="UTF-8">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="topic_id" value="{{ $topic->id }}">
<div class="form-group">
<textarea class="form-control" rows="3" placeholder="分享你的想法" name="content"></textarea>
</div>
<button type="submit" class="btn btn-primary btn-sm"><i class="fa fa-share"></i>回复</button>
</form>
</div>
<hr>