Add options.attributes to items with template