Retrospring/app/views/timeline/timeline.turbo_stream.haml

9 lines
281 B
Plaintext

= turbo_stream.append "timeline" do
- @timeline.each do |answer|
= render "answerbox", a: answer
= turbo_stream.update "paginator" do
- if @more_data_available
= button_to "#{request.path}?last_id=#{@timeline_last_id}", class: "btn btn-light" do
= t("voc.load")