Remove turbo-frame tag in inbox view

This commit is contained in:
Andreas Nedbal 2022-09-08 00:43:28 +02:00 committed by Andreas Nedbal
parent 073343f56f
commit 9212d485fc
1 changed files with 9 additions and 10 deletions

View File

@ -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")