Remove turbo-frame tags in user views
This commit is contained in:
parent
c60acebf21
commit
5d88dfcb9c
|
@ -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
|
||||||
|
|
|
@ -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|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue