Rash on butt

got this rash after walking in jeans in hot weather. does anyone know what this is? image

according to what has been explained it would seem a contact dermatitis
regards
Vera