mirror of
https://github.com/SectorLabs/django-localized-fields.git
synced 2025-10-20 22:58:58 +03:00
Fix non-valid HTML tags attributes
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
<ul class="localized-fields-widget tabs">
|
||||
{% for widget in widget.subwidgets %}
|
||||
<li class="localized-fields-widget tab">
|
||||
<a href="#{{ widget_id }}_{{ widget.attrs.lang_code }}">{{ widget.attrs.lang_name|capfirst }}</a>
|
||||
<a href="#{{ widget_id }}_{{ widget.lang_code }}">{{ widget.lang_name|capfirst }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% for widget in widget.subwidgets %}
|
||||
<div role="tabpanel" id="{{ widget_id }}_{{ widget.attrs.lang_code }}">
|
||||
<div role="tabpanel" id="{{ widget_id }}_{{ widget.lang_code }}">
|
||||
{% include widget.template_name %}
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
@@ -1,4 +1,4 @@
|
||||
{% for widget in widget.subwidgets %}
|
||||
<label for="{{ widget.attrs.id }}">{{ widget.attrs.lang_name }}</label>
|
||||
<label for="{{ widget.attrs.id }}">{{ widget.lang_name }}</label>
|
||||
{% include widget.template_name %}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user