mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 18:29:07 +01:00
8 lines
304 B
Text
8 lines
304 B
Text
= 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")
|