mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 09:56:03 +01:00
9 lines
304 B
Text
9 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")
|