Closed florianmouchantaf closed 5 years ago
I think it's a duplicate of #11. Sorry, I don't have a lot of time for this project right now except for low effort maintenance. if you want to fix the problem yourself, feel free to make a pull request. It might work by replacing almost everything in survey/templates/survey/question.html
by {{form|boootstrap}}
using django-bootstrap-form. See the project with an example here: https://github.com/tzangms/django-bootstrap-form.
I used django-boostrap-form but the issue is that each question is duplicated and the second time it is displayed with tag written from admin page . If there is a possible fix to it thanks for the help .
From: Pierre Sassoulas notifications@github.com Sent: Thursday, September 19, 2019 4:00 PM To: Pierre-Sassoulas/django-survey django-survey@noreply.github.com Cc: florianmouchantaf florian.mouchantaf@hotmail.com; Author author@noreply.github.com Subject: Re: [Pierre-Sassoulas/django-survey] Select widget problem (#47)
I think it's a duplicate of #11https://github.com/Pierre-Sassoulas/django-survey/issues/11. Sorry, I don't have a lot of time for this project right now except for low effort maintenance. if you want to fix the problem yourself, feel free to make a pull request. It might work by replacing almost everything in survey/templates/survey/question.html by {{form|boootstrap}} using django-bootstrap-form. See the project with an example here: https://github.com/tzangms/django-bootstrap-form.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Pierre-Sassoulas/django-survey/issues/47?email_source=notifications&email_token=AI6GZI7P3ZJGIHVR46DHKE3QKNZXLA5CNFSM4IX4RTUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DMFYQ#issuecomment-533119714, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI6GZIZ5Q4YSAHB72KKLHXLQKNZXLANCNFSM4IX4RTUA.
Probably the same thing than here : https://github.com/Pierre-Sassoulas/django-survey/pull/46#discussion_r308914216
I maintained the category condition and field required but the problem is that each question is duplicated and it doesn't seems to be a problem in the template question.html. Maybe in bootstrap form ?
From: Pierre Sassoulas notifications@github.com Sent: Friday, September 20, 2019 1:05 AM To: Pierre-Sassoulas/django-survey django-survey@noreply.github.com Cc: florianmouchantaf florian.mouchantaf@hotmail.com; Author author@noreply.github.com Subject: Re: [Pierre-Sassoulas/django-survey] Select widget problem (#47)
Probably the same thing than here : #46 (comment)https://github.com/Pierre-Sassoulas/django-survey/pull/46#discussion_r308914216
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Pierre-Sassoulas/django-survey/issues/47?email_source=notifications&email_token=AI6GZI2DYEY4T37HMTOJAMDQKPZRPA5CNFSM4IX4RTUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7E6VYQ#issuecomment-533326562, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI6GZIYMT3XYCRF5ODFVAODQKPZRPANCNFSM4IX4RTUA.
En fair comment on utilise boostrap et safe en meme temps car si j'enlève la balise form.label |safe et je garde form|boostrap alors les balises restent presentent ne sont pas interpretées par boostrap.
On 20 Sep 2019 00:05, Pierre Sassoulas notifications@github.com wrote:
Probably the same thing than here : #46 (comment)https://github.com/Pierre-Sassoulas/django-survey/pull/46#discussion_r308914216
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Pierre-Sassoulas/django-survey/issues/47?email_source=notifications&email_token=AI6GZI2DYEY4T37HMTOJAMDQKPZRPA5CNFSM4IX4RTUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7E6VYQ#issuecomment-533326562, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AI6GZIYMT3XYCRF5ODFVAODQKPZRPANCNFSM4IX4RTUA.
I think we can't use both in the template, we probably need to do one of those treatments it in python. (I might be wrong, not touched django for a long time)
Hi,
I'm a new user of django-survey. I encountered a problem in displaying a question type select . As i understood, the form.select widget would make the html code but in my case the html code of a question type select in the form doesn't contain
Thanks for the help !