Fixed #11277 -- Hidden labels of fields with HiddenInput widget

The patch was updated and it applies clearly now. The previous pull request was https://github.com/django/django/pull/789 .