Retrospring/app/views/moderation/reports/index.haml

15 lines
505 B
Plaintext

#reports
- @reports.each do |r|
= render "moderation/moderationbox", report: r
- unless @reports.count.zero?
= 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 } }
= t("voc.load")
:ruby
parent_layout "moderation"