Add  attribute to details button