콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hi guys!

I'm using t-if conditions inside my qweb templates in order o modify what I want to display on my UI Website based on the curren language:


< div  t-if="request.env.lang == 'en_US'">
// EN Content
< / div>
< div  t-if="request.env.lang == 'es_MX'">
// ES content
< / div>



The problem is, when i save my changes, my qweb conditions works properly but I am not able to add any other snippet in the UI. All snippets appear in "red" and disabled to drag.


How can I solve this?

아바타
취소
관련 게시물 답글 화면 활동
2
10월 22
6022
2
3월 21
4218
2
3월 21
9385
0
12월 20
4091
0
5월 20
3153