Wrap form field contents in a <div>

Review Request #9006 — Created June 9, 2017 and submitted

brennie
Djblets
release-0.10.x
djblets

This change makes form fields rendered by
djblets_forms/admin/form_field.html and Django's own
admin/includes/fieldset.html render closer together by wrapping the
contents of the field inside a <div>. This allows us to render
admin-styled forms (e.g., .aligned.module fieldsets) without being too
hacky.

  • Tested this with an upcoming patch for Review Board.
  • Did not notice changes in fields that are rendered with this template.
david
  1. Ship It!
  2. 
      
brennie
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.10.x (24c5043)
Loading...