mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:29:54 +01:00
questionbox: make "Hide your name" clickable
This commit is contained in:
parent
2243a3ff99
commit
1da70158bf
1 changed files with 3 additions and 2 deletions
|
@ -22,8 +22,9 @@
|
|||
.col-6
|
||||
- if user_signed_in?
|
||||
- if user.privacy_allow_anonymous_questions?
|
||||
%input{ name: "qb-anonymous", type: :checkbox }/
|
||||
= t(".anonymous")
|
||||
%label
|
||||
%input{ name: "qb-anonymous", type: :checkbox }
|
||||
= t(".anonymous")
|
||||
%br/
|
||||
- else
|
||||
%input{ name: "qb-anonymous", type: :hidden, value: false }/
|
||||
|
|
Loading…
Reference in a new issue