I have a problem with modules, i'm trying to make a dropdown button, and when i use it multiple times only one of them works, so i tried creating clones of module, and changing all classes and id names but the problem remains.
I don't understand why it doesn't work, because i'm using different modules, and nothing connects them.
Here is the code:
First module:
HTML:
<nav class = "footer_nav_1">
<label for="touch"><span class = "footer_klasa_span_1">{{ module.naziv_field }}</span></label>
<input type="checkbox" id="touch">
<ul class="slide_1">
{% for item in module.field_group %}
<li class = "li_klasa"><a href="{{ item.element_link_field }}">{{ item.element_field }}</a></li>
{% endfor %}
</ul>
</nav>