Double quotes - it's wrong way to, I think. You should use single quotes, like `$attributes['prompt']`