File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ / # locals: (request_for_comment:)
2+
13- if policy(request_for_comment).report?
2- . text-end
3- = button_to t(' .report ' ), report_request_for_comment_path(request_for_comment) ,
4- data: { confirm: t( ' .confirm ' )} ,
5- class : ' btn btn-light btn-sm '
4+ = button_to t( ' .report ' ), report_request_for_comment_path(request_for_comment),
5+ data: { confirm: t(' .confirm ' )} ,
6+ class : ' btn btn-light btn-sm ' ,
7+ form: { class : ' d-inline float-end ' }
Original file line number Diff line number Diff line change 2525 .question
2626 h5 .mt-4
2727 = RequestForComment .human_attribute_name(' question' )
28+ = render(' report' , request_for_comment: @request_for_comment )
2829 .text
2930 - question = @request_for_comment .question
3031 = question.presence || t(' request_for_comments.no_question' )
31- = render(' report' , request_for_comment: @request_for_comment )
3232
3333 - if policy(@request_for_comment ).mark_as_solved? && ! @request_for_comment .solved?
3434 = render(' mark_as_solved' )
You can’t perform that action at this time.
0 commit comments