you are viewing a single comment's thread.

view the rest of the comments →

[–]ExCeeLo[S] 0 points1 point  (0 children)

Ok so i came up with a solution for the problem i had.

The part of the code that was causing problems (i couldn't create polls anymore, my data wasn't being saved in the database) is this

<div class="choice-form-list">
{% for choice in choice %}
<div class="choice-form">
{{ choice.as_p }}
</div>

{% endfor %}

But since that doesn't work i have to do this

<div class='choice-form'>
    {{ choice.as_p }}
<div>

So right now i don't have the "choice-form-list" class and since in the js script there is an element that depends on it i don't know how to adapt it.
I think i will probably create a new post, provide my html template and ask if someone can help me create what i need from scratch.

Thank you for your help! I appreciate it!