def get_switched_form_field_attrs(self, prefix, input_type, name):
        """Creates attribute dicts for the switchable theme form
        """
        attributes = {'class': 'switched', 'data-switch-on': prefix + 'field'}
        attributes['data-' + prefix + 'field-' + input_type] = name
        return attributes
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
Creates attribute dicts for the switchable theme form