def METHOD_NAME(self, _context, layout, _data, attribute, _icon, _active_data, _active_propname, _index):
    data_type = attribute.bl_rna.properties["data_type"].enum_items[attribute.data_type]
    split = layout.split(factor=0.75)
    split.emboss = 'NONE'
    split.prop(attribute, "name", text="")
    sub = split.row()
    sub.alignment = 'RIGHT'
    sub.active = False
    sub.label(text=data_type.name)