Label only accepts `:index` and `:namespace` attributes from the input
Merge pull request #13122 from andrielfn/fix-collection-label-class

Fix the merge of a label class defined inside the block