mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 13:26:04 +01:00
8 lines
327 B
Text
8 lines
327 B
Text
= turbo_stream.append "answers" do
|
|
- @answers.each do |a|
|
|
= render "answerbox", a: a, show_question: false
|
|
|
|
= turbo_stream.update "paginator" do
|
|
- if @more_data_available
|
|
= button_to question_path(@question.user.screen_name, @question.id, last_id: @answers_last_id), class: "btn btn-light" do
|
|
= t("voc.load")
|