FEATURE: add creating comments
This commit is contained in:
@@ -6,4 +6,16 @@
|
||||
<hr>
|
||||
|
||||
{!! $page->content !!}
|
||||
|
||||
<form action="{{route('comments.new', ['id' => $page->id])}}" method="post">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="name">
|
||||
<input type="email" name="email">
|
||||
|
||||
<textarea name="message" id="" cols="30" rows="10">
|
||||
|
||||
</textarea>
|
||||
|
||||
<input type="submit">
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user