Retrospring/app/views/inbox/show.turbo_stream.haml

8 lines
339 B
Plaintext
Raw Normal View History

= turbo_stream.append "entries" do
- @inbox.each do |i|
= render "inbox/entry", i: i
= turbo_stream.update "paginator" do
- if @more_data_available
2023-01-18 15:13:48 -08:00
= button_to t("voc.load"), inbox_path, class: "btn btn-light", method: :get, params: { last_id: @inbox_last_id, author: @author }.compact, form: { data: { turbo_stream: true } }