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

9 lines
266 B
Plaintext
Raw Normal View History

= turbo_stream.append "answers" do
- @answers.each do |a|
= render 'answerbox', a: a
= turbo_stream.update "paginator" do
- if @more_data_available
= button_to user_path(@user, last_id: @answers_last_id), class: "btn btn-light" do
= t("voc.load")