Created by: tbroadley
Fixes https://github.com/thoughtbot/administrate/issues/1042.
field.attribute
is already plural. Because of this, if field.data.size == 1
, pluralize
returns a string like "1 teams". To fix this, we call singularize
on field.attribute
before passing it to pluralize
.