mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-20 22:58:58 +03:00
use label tag + for attribute instead of a + href for properly work with inline formsets
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<ul class="localized-fields-widget tabs">
|
||||
{% for widget in widget.subwidgets %}
|
||||
<li class="localized-fields-widget tab">
|
||||
<a href="#{{ widget_id }}_{{ widget.lang_code }}">{{ widget.lang_name|capfirst }}</a>
|
||||
<label for="{{ widget_id }}_{{ widget.lang_code }}">{{ widget.lang_name|capfirst }}</label>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user