mirror of
https://github.com/pretix/pretix.git
synced 2026-05-11 16:13:59 +00:00
committed by
Raphael Michel
parent
9548dc69a7
commit
6027262194
@@ -176,7 +176,11 @@ class I18nWidget(forms.MultiWidget):
|
|||||||
except IndexError:
|
except IndexError:
|
||||||
widget_value = None
|
widget_value = None
|
||||||
if id_:
|
if id_:
|
||||||
final_attrs = dict(final_attrs, id='%s_%s' % (id_, i))
|
final_attrs = dict(
|
||||||
|
final_attrs,
|
||||||
|
id='%s_%s' % (id_, i),
|
||||||
|
title=self.langcodes[i]
|
||||||
|
)
|
||||||
output.append(widget.render(name + '_%s' % i, widget_value, final_attrs))
|
output.append(widget.render(name + '_%s' % i, widget_value, final_attrs))
|
||||||
return mark_safe(self.format_output(output))
|
return mark_safe(self.format_output(output))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user