support for conditional logic in erb templates