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

9 lines
304 B
Plaintext
Raw Normal View History

= turbo_stream.append "questions" do
- @questions.each do |q|
= render 'shared/question', q: q, type: nil
= turbo_stream.update "paginator" do
- if @more_data_available
= button_to show_user_questions_path(@user, last_id: @questions_last_id), class: "btn btn-light" do
= t("voc.load")