Ruling About Improper Dress
A govt is not supposed to prescribe a dress code, it can exercise its authority when there is obscenity in dress. and yes this is on the basis of Sadd e Zarya, that it may not lead to adultery.