Skip to content

Commit

Permalink
Placeholder reminder for markdown usage conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
ncounter authored and danidoni committed Oct 21, 2024
1 parent 3e0dcdb commit 96f9d21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/app/components/request_decision_component.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
- if Flipper.enabled?(:content_moderation, User.session)
.d-flex.justify-content-end
= render CannedResponsesDropdownComponent.new(User.session.canned_responses.where(decision_type: nil).order(:title))
= text_area_tag(:reason, nil, placeholder: 'write your comment or decision...', rows: 4, class: 'w-100 form-control mb-2 message-field')
= text_area_tag(:reason, nil,
placeholder: 'Write your comment or decision...(markdown is only supported for comments, not for decisions)',
rows: 4, class: 'w-100 form-control mb-2 message-field')
.tab-pane.fade{ id: 'preview_new_comment', role: 'tabpanel', 'aria-labelledby': 'preview-message-tab' }
.comment-preview.message-preview.border-bottom.border-gray-300.my-3
- if single_action_request && @is_target_maintainer && @bs_request.state.in?([:new, :review])
Expand Down

0 comments on commit 96f9d21

Please sign in to comment.