Merge pull request #583 from Retrospring/🇨🇿📦
questionbox: make "Hide your name" clickable
This commit is contained in:
commit
b08fbf29da
|
@ -22,8 +22,9 @@
|
||||||
.col-6
|
.col-6
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
- if user.privacy_allow_anonymous_questions?
|
- if user.privacy_allow_anonymous_questions?
|
||||||
%input{ name: "qb-anonymous", type: :checkbox }/
|
%label
|
||||||
= t(".anonymous")
|
%input{ name: "qb-anonymous", type: :checkbox }
|
||||||
|
= t(".anonymous")
|
||||||
%br/
|
%br/
|
||||||
- else
|
- else
|
||||||
%input{ name: "qb-anonymous", type: :hidden, value: false }/
|
%input{ name: "qb-anonymous", type: :hidden, value: false }/
|
||||||
|
|
Loading…
Reference in New Issue