Remove turbo-frame tags in user views

This commit is contained in:
Andreas Nedbal 2022-09-08 00:48:01 +02:00 committed by Andreas Nedbal
parent c60acebf21
commit 5d88dfcb9c
3 changed files with 27 additions and 30 deletions

View File

@ -1,4 +1,3 @@
= turbo_frame_tag "user_questions" do
#questions
- @questions.each do |q|
= render 'shared/question', q: q, type: nil

View File

@ -1,4 +1,3 @@
= turbo_frame_tag "user_answers" do
- unless @user.banned?
#answers
- @answers.each do |a|

View File

@ -1,4 +1,3 @@
= turbo_frame_tag "user_#{@type}" do
.row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
- @users.each do |user|
.col.pb-3