FEATURE: add creating comments

This commit is contained in:
Michal Kváček
2016-09-05 12:50:04 +02:00
parent a33023a4aa
commit 9ce9f62a45
7 changed files with 192 additions and 26 deletions
@@ -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