@if (isset($comment)) {!! Form::model($comment, ['route' => ['comments.update', $comment->id], 'method' => 'PUT']) !!} @else {!! Form::open(['url' => URL::route('comments.store', [$foreignType, $foreignId])]) !!} @endif {!! Form::hidden('_url', URL::current()) !!}

{!! trans('comments::write') !!}

{!! Form::textarea('text') !!}
{!! Form::button('Save', ['class' => 'save btn btn-default']) !!} {!! Form::close() !!}