Reduce LineLength for react_admin_component helpers (#29650)
This commit is contained in:
parent
3211e960ac
commit
0a33be39c1
6 changed files with 162 additions and 27 deletions
|
|
@ -20,7 +20,11 @@
|
|||
|
||||
%p= t 'admin.reports.category_description_html'
|
||||
|
||||
= react_admin_component :report_reason_selector, id: @report.id, category: @report.category, rule_ids: @report.rule_ids&.map(&:to_s), disabled: @report.action_taken?
|
||||
= react_admin_component :report_reason_selector,
|
||||
category: @report.category,
|
||||
disabled: @report.action_taken?,
|
||||
id: @report.id,
|
||||
rule_ids: @report.rule_ids&.map(&:to_s)
|
||||
|
||||
- if @report.comment.present?
|
||||
= render 'admin/reports/comment', report: @report
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue