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
- @questions.each do |q| - @questions.each do |q|
= render 'shared/question', q: q, type: nil = render 'shared/question', q: q, type: nil

View File

@ -1,4 +1,3 @@
= turbo_frame_tag "user_answers" do
- unless @user.banned? - unless @user.banned?
#answers #answers
- @answers.each do |a| - @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 .row.row-cols-1.row-cols-sm-2.row-cols-md-3#users
- @users.each do |user| - @users.each do |user|
.col.pb-3 .col.pb-3