add smart decorator to simplify set attributes of custom_fields on admin