Add labels to localized subwidgets

This commit is contained in:
Unai Zalakain
2017-07-10 15:30:03 +02:00
committed by Swen Kooij
parent d4c24dea97
commit e8e044f6e2
2 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{% for widget in widget.subwidgets %}
<label for="{{ widget.attrs.id }}">{{ widget.attrs.lang_name }}</label>
{% include widget.template_name %}
{% endfor %}