1 <div class="comment-editor" ng-controller="CommentReplyController as vm" ng-cloak>
3 <textarea name="markdown" rows="3" ng-model="comment.text" placeholder="{{ trans('entities.comment_placeholder') }}"
4 @if($errors->has('markdown')) class="neg" @endif>@if(isset($model) ||
5 old('markdown')){{htmlspecialchars( old('markdown') ? old('markdown') : ($model->markdown === '' ? $model->html : $model->markdown))}}@endif</textarea>
6 <input type="hidden" ng-model="comment.pageId" name="comment.pageId" value="{{$pageId}}" ng-init="comment.pageId = {{$pageId }}">
7 <button type="submit" class="button pos" ng-click="vm.saveComment(isReply)">Save</button>
11 @if($errors->has('markdown'))
12 <div class="text-neg text-small">{{ $errors->first('markdown') }}</div>