From 073343f56f8569f65f89309a89e6bffcb99b54cb Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 8 Sep 2022 00:37:15 +0200 Subject: [PATCH] Remove turbo-frame tag in moderation report view --- app/views/moderation/reports/index.haml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/app/views/moderation/reports/index.haml b/app/views/moderation/reports/index.haml index db76c1f1..d74b9840 100644 --- a/app/views/moderation/reports/index.haml +++ b/app/views/moderation/reports/index.haml @@ -1,9 +1,8 @@ -= turbo_frame_tag "moderation_reports" do - #reports - - @reports.each do |r| - = render "moderation/moderationbox", report: r +#reports + - @reports.each do |r| + = render "moderation/moderationbox", report: r - - if @more_data_available - .d-flex.justify-content-center.justify-content-sm-start#paginator - = button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do - = t("voc.load") +- if @more_data_available + .d-flex.justify-content-center.justify-content-sm-start#paginator + = button_to moderation_reports_path(last_id: @reports_last_id, type: params[:type]), class: "btn btn-light" do + = t("voc.load")