2022-09-04 12:17:10 -07:00
|
|
|
= turbo_stream.append "reports" do
|
|
|
|
- @reports.each do |r|
|
|
|
|
= render "moderation/moderationbox", report: r
|
|
|
|
|
|
|
|
= turbo_stream.update "paginator" do
|
|
|
|
- if @more_data_available
|
2023-01-21 10:26:23 -08:00
|
|
|
= button_to t("voc.load"), moderation_reports_path(type: params[:type]),
|
|
|
|
class: "btn btn-light",
|
|
|
|
method: :get,
|
|
|
|
params: { last_id: @reports_last_id },
|
|
|
|
form: { data: { turbo_stream: true } }
|