code: def get_switched_form_field_attrs(self, prefix, input_type, name):
          
          attributes = {'class': 'switched', 'data-switch-on': prefix + 'field'}
          attributes['data-' + prefix + 'field-' + input_type] = name
          return attributes
docs: Creates attribute dicts for the switchable theme form