% const classes = ['alert']; if (type) classes.push(`alert-${type}`); if (dismissible) classes.push('alert-dismissible'); if (showIcon) classes.push('alert-icon'); if (animation) classes.push('fade'); classes.push('show', 'top-messages'); %>