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

13 lines
423 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 t("voc.load"), moderation_reports_path(type: params[:type]),
class: "btn btn-light",
method: :get,
params: { last_id: @reports_last_id },
2023-03-05 09:57:25 -08:00
data: { hotkey: "." },
form: { data: { turbo_stream: true } }