]> BookStack Code Mirror - bookstack/blob - resources/views/comments/create.blade.php
Tests: Updated comment test to account for new editor usage
[bookstack] / resources / views / comments / create.blade.php
1 <div refs="page-comments@form-container" hidden class="comment-branch mb-m">
2     <div class="comment-box">
3
4         <div class="header p-s">{{ trans('entities.comment_new') }}</div>
5         <div refs="page-comments@reply-to-row" hidden class="primary-background-light text-muted px-s py-xs">
6             <div class="grid left-focus v-center">
7                 <div>
8                     <a refs="page-comments@form-reply-link" href="#">{{ trans('entities.comment_in_reply_to', ['commentId' => '1234']) }}</a>
9                 </div>
10                 <div class="text-right">
11                     <button refs="page-comments@remove-reply-to-button" class="text-button">{{ trans('common.remove') }}</button>
12                 </div>
13             </div>
14         </div>
15         <div refs="page-comments@reference-row" hidden class="primary-background-light text-muted px-s py-xs">
16             <div class="grid left-focus v-center">
17                 <div>
18                     <a refs="page-comments@formReferenceLink" href="#">{{ trans('entities.comment_reference') }}</a>
19                 </div>
20                 <div class="text-right">
21                     <button refs="page-comments@remove-reference-button" class="text-button">{{ trans('common.remove') }}</button>
22                 </div>
23             </div>
24         </div>
25
26         <div class="content px-s pt-s">
27             <form refs="page-comments@form" novalidate>
28                 <div class="form-group description-input">
29                 <textarea refs="page-comments@form-input" name="html"
30                           rows="3"
31                           placeholder="{{ trans('entities.comment_placeholder') }}"></textarea>
32                 </div>
33                 <div class="form-group text-right">
34                     <button type="button" class="button outline"
35                             refs="page-comments@hide-form-button">{{ trans('common.cancel') }}</button>
36                     <button type="submit" class="button">{{ trans('entities.comment_save') }}</button>
37                 </div>
38             </form>
39         </div>
40
41     </div>
42 </div>