diff options
Diffstat (limited to 'ishtar_common')
| -rw-r--r-- | ishtar_common/templates/blocks/inline_formset.html | 2 | ||||
| -rw-r--r-- | ishtar_common/templatetags/inline_formset.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/blocks/inline_formset.html b/ishtar_common/templates/blocks/inline_formset.html index 9c1daad28..d6e76bc90 100644 --- a/ishtar_common/templates/blocks/inline_formset.html +++ b/ishtar_common/templates/blocks/inline_formset.html @@ -1,5 +1,5 @@ {% load i18n %} - {% if extra_formset.non_form_errors %}<div class='errors'>{{extra_formset.non_form_errors.as_ul}}</div>{% endif %} + {% if formset.non_form_errors %}<div class='errors'>{{formset.non_form_errors.as_ul}}</div>{% endif %} {% if header %}<table class='inline-table' id='{{formset.prefix}}'> <caption>{% trans caption %}</caption> <thead> diff --git a/ishtar_common/templatetags/inline_formset.py b/ishtar_common/templatetags/inline_formset.py index 9e3bfe9c9..2d225e448 100644 --- a/ishtar_common/templatetags/inline_formset.py +++ b/ishtar_common/templatetags/inline_formset.py @@ -10,7 +10,7 @@ register = template.Library() def inline_formset(caption, formset, header=True, skip=False): """ Render a formset as an inline table. - For i18n of the caption be carreful to add manualy the caption label to + For i18n of the caption be careful to add manually the caption label to the translated fields """ return {'caption': caption, 'formset': formset, 'header': header, |
