Ticket #289: precise-errors.2.diff
File precise-errors.2.diff, 964 bytes (added by , 19 years ago) |
---|
-
main.py
588 588 t.append('{% if is_popup %}<input type="hidden" name="_popup" value="1">{% endif %}') 589 589 if opts.admin.save_on_top: 590 590 t.extend(_get_submit_row_template(opts, app_label, add, change, show_delete, ordered_objects)) 591 t.append('{% if form.error_dict %}<p class="errornote">Please correct the error{{ form.error_dict.items|pluralize }} below .</p>{% endif %}\n')591 t.append('{% if form.error_dict %}<p class="errornote">Please correct the error{{ form.error_dict.items|pluralize }} below (in: {% for error in form.error_dict.keys %}{{ error }}{% if forloop.last %}{% else %}, {% endif %}{% endfor %}).</p>{% endif %}\n') 592 592 for fieldset_name, options in admin_field_objs: 593 593 t.append('<fieldset class="module aligned %s">\n\n' % options.get('classes', '')) 594 594 if fieldset_name: