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

9 lines
314 B
Plaintext
Raw Normal View History

= turbo_stream.append "reports" do
- @reports.each do |r|
= render "moderation/moderationbox", report: r
= turbo_stream.update "paginator" do
- if @more_data_available
= button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do
= t("voc.load")