Skip to content

Commit f361ebc

Browse files
authored
Add edit comment html layout (#865)
1 parent 8664c92 commit f361ebc

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

templates/app/review/comment/comment.modify.html.twig

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
>
99
<div class="diff-file__comment_form_max_size">
1010
{{- form_start(form, {attr: {'data-comment-form-target': 'form'}}) -}}
11+
12+
<div class="float-end text-secondary">
13+
{{ 'comment.markdown.examples'|trans }}
14+
</div>
15+
1116
{{- form_widget(form.message, {attr: {'data-comment-form-target': 'textarea', 'data-controller': 'form-submitter textarea-resize textarea-paste'}}) -}}
1217

1318
<div class="position-relative diff-file__comment-mention">
@@ -26,9 +31,7 @@
2631
{{ stimulus_controller('button') }}
2732
{{ stimulus_action('comment-form', 'cancelComment', 'click') }}
2833
>{{ 'cancel'|trans }}</button>
29-
<span class="float-end text-secondary">
30-
{{ 'comment.markdown.examples'|trans }}
31-
</span>
34+
3235
{{- form_widget(form.tag, {attr: {class: 'd-inline-block w-auto ms-5'}}) }}
3336
</div>
3437
{{- form_end(form) -}}

0 commit comments

Comments
 (0)