Retrospring/app/views/moderation/index.haml

12 lines
469 B
Plaintext
Raw Normal View History

#reports
- @reports.each do |r|
2022-07-29 20:11:29 -07:00
= render "moderation/moderationbox", report: r
- unless @reports.count.zero?
2022-07-29 20:11:29 -07:00
= render "shared/cursored_pagination_dummy", more_data_available: @more_data_available, last_id: @reports_last_id, permitted_params: %i[type]
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start
%button.btn.btn-light#load-more-btn{ type: :button, data: { last_id: @reports_last_id } }
2022-07-29 20:11:29 -07:00
= t("voc.load")