Retrospring/app/views/user/show.haml

17 lines
506 B
Plaintext
Raw Normal View History

= turbo_frame_tag "user_answers" do
- unless @user.banned?
#answers
- @answers.each do |a|
= render 'answerbox', a: a
2020-04-25 08:21:39 -07:00
- if @more_data_available
.d-flex.justify-content-center.justify-content-sm-start#paginator
= button_to user_path(@user, last_id: @answers_last_id), class: "btn btn-light" do
= t("voc.load")
2020-04-25 08:21:39 -07:00
2021-08-06 04:52:11 -07:00
:ruby
provide(:title, user_title(@user))
provide(:og, user_opengraph(@user))
provide(:meta, user_twitter_card(@user))
parent_layout 'user/profile'