Refactor to reuse the one status partial across moderation tools (#35644)
This commit is contained in:
parent
4ef0ce033e
commit
cbb9a4dbe3
14 changed files with 88 additions and 119 deletions
5
app/views/admin/shared/_status_batch_row.html.haml
Normal file
5
app/views/admin/shared/_status_batch_row.html.haml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
.batch-table__row
|
||||
%label.batch-table__row__select.batch-checkbox
|
||||
= f.check_box :status_ids, { multiple: true, include_hidden: false }, status.id
|
||||
.batch-table__row__content
|
||||
= render partial: 'admin/shared/status', object: status
|
||||
Loading…
Add table
Add a link
Reference in a new issue