              value = self.decompress(value)
  
          final_attrs = context['widget']['attrs']
          id_ = final_attrs.get('id')
          subwidgets = []
          for i, widget in enumerate(self.widgets):
              if input_type is not None:
                  widget.input_type = input_type
              widget_name = '%s_%s' % (name, i)
 
</s>
        input_type = final_attrs.pop('type', None)
              value = self.decompress(value)
  
          final_attrs = context['widget']['attrs']
        input_type = final_attrs.pop('type', None)
          id_ = final_attrs.get('id')
          subwidgets = []
          for i, widget in enumerate(self.widgets):
              if input_type is not None:
                  widget.input_type = input_type
              widget_name = '%s_%s' % (name, i)
keep keep add keep keep keep keep keep keep
 Fixed #27723 -- Set MultiWidget's subwidgets input type from attrs argument.

Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.
django/forms/widgets.py