@extends('layouts.app')
@section('title', 'Post a Comment!')
@section('content')
<div class="container">
<div class="row">
<div class="col col-md-10">
<h2>Comment The Post!</h2>
{!! Form::open(['route' => ['comment.store', $post_id]]) !!}
{{ Form::token() }}
<div class="form-group">
{!! Form::textarea('body', null, ['placeholder' => 'Want to comment on this?', 'class' => 'input-block', 'required']) !!}
</div>
{{ Form::submit('Submit', ['class' => 'paper-btn btn-primary']) }}
{!! Form::close() !!}
</div>
</div>
</div>
@endsection
|