Skip to content

Commit ed89085

Browse files
committed
Make sure we're posting a public comment
1 parent baf34e5 commit ed89085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/proposals/_comments.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
- else
1919
= f.text_area :body, class: 'form-control', placeholder: 'Add your comment', rows: 5
2020
.form-group
21-
%button.btn.btn-success.save-comment(type="submit")
21+
%button.btn.btn-success.save-comment{type: 'submit', data: {turbo_confirm: internal?(f.object) ? nil : 'Are you sure you want to post a Public comment?'}}
2222
%span.bi.bi-check
2323
Comment

0 commit comments

Comments
 (0)