pass attrs to selects in views