Clean up the form-related template tags/filters and add unit tests.

Review Request #9619 — Created Feb. 10, 2018 and submitted

Information

Djblets
master
72ea639...

Reviewers

The form-related template tags and filters in
djblets.util.templatetags.djblets_forms are pretty old, and have some
outdated logic and almost no test coverage or documentation. This change
modernizes them, fixing them up to meet current standards and to have
comprehensive test coverage.

Unit tests pass.

Description From Last Updated

E303 too many blank lines (2)

reviewbotreviewbot

F811 redefinition of unused 'test_with_checkbox_input' from line 235

reviewbotreviewbot
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

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