From 9212d485fcf860365c58a0639a3fcc3a0667159d Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 8 Sep 2022 00:43:28 +0200 Subject: [PATCH] Remove turbo-frame tag in inbox view --- app/views/inbox/show.haml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/app/views/inbox/show.haml b/app/views/inbox/show.haml index 41966b5f..0203e123 100644 --- a/app/views/inbox/show.haml +++ b/app/views/inbox/show.haml @@ -1,12 +1,11 @@ -= turbo_frame_tag "inbox" do - #entries - - @inbox.each do |i| - = render "inbox/entry", i: i +#entries + - @inbox.each do |i| + = render "inbox/entry", i: i - - if @inbox.empty? - = t(".empty") + - if @inbox.empty? + = t(".empty") - - if @more_data_available - .d-flex.justify-content-center.justify-content-sm-start#paginator - = button_to inbox_path(last_id: @inbox_last_id), class: "btn btn-light" do - = t("voc.load") +- if @more_data_available + .d-flex.justify-content-center.justify-content-sm-start#paginator + = button_to inbox_path(last_id: @inbox_last_id), class: "btn btn-light" do + = t("voc.load")