Traditionally a paper or cardboard flap attached to the right back pocket on jeans to indicate differences in size, finishing, fabrics and shapes. Also used as a marketing gimmick, it often featured illustrations that referred to a specific theme associated with that specific model, like Westerns.

Source: Nouvelle de Nîmes Nº 5: The Denim Dictionary