Actually admin? is a function(probably defined somewhere in controller/helper method or model) that return boolean(true or false) and next question mark is just like a if condition
if admin? == true
"Admin"
else
"User"
first portion before ":" is for true case and other is for false case