• 
      

    Don't render form field labels when the label is an empty string.

    Review Request #9923 — Created May 10, 2018 and submitted

    Information

    Djblets
    release-1.0.x
    3e76015...

    Reviewers

    Django forms allow for the disabling of <label> tags if the label is
    an empty string, but our counterpart ({% label_tag %}) didn't support
    this. We now look to see if a field's label is an empty string and, if
    so, we simply don't render a label for the field.

    Unit tests passed.

    Tested along with the upcoming consent change.

    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-1.0.x (5d089e3)