id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 2410 [patch] Add id attribute to change list form to easily look up it in javascript. Alex Dedul Adrian Holovaty "Title says it all. One thing this patch changes more is opts.object_name.lower to opts.module_name in bodyclass block, because opts.module_name is exactly opts.object_name.lower. {{{ Index: django/contrib/admin/templates/admin/change_form.html =================================================================== --- django/contrib/admin/templates/admin/change_form.html (revision 3439) +++ django/contrib/admin/templates/admin/change_form.html (working copy) @@ -6,8 +6,8 @@ {% endblock %} {% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock %} {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %} -{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %} +{% block bodyclass %}{{ opts.app_label }}-{{ opts.module_name }} change-form{% endblock %} {% block breadcrumbs %}{% if not is_popup %}