]> BookStack Code Mirror - bookstack/blob - resources/views/comments/comment-reply.blade.php
Update/fix german translation
[bookstack] / resources / views / comments / comment-reply.blade.php
1 <div class="comment-editor" ng-controller="CommentReplyController as vm" ng-cloak>
2     <form novalidate>
3         <textarea name="markdown" rows="3" ng-model="comment.text" placeholder="{{ trans('entities.comment_placeholder') }}"></textarea>
4         <input type="hidden" ng-model="comment.pageId" name="comment.pageId" value="{{$pageId}}" ng-init="comment.pageId = {{$pageId }}">
5         <button type="button" ng-if="::(isReply || isEdit)" class="button muted" ng-click="closeBox()">{{ trans('entities.comment_cancel') }}</button>
6         <button type="submit" class="button pos" ng-click="vm.saveComment()">{{ trans('entities.comment_save') }}</button>
7     </form>
8 </div>
9
10 @if($errors->has('markdown'))
11     <div class="text-neg text-small">{{ $errors->first('markdown') }}</div>
12 @endif