I've been using the Cocoon gem to dynamically generate nested fields in rails. I've run into an application where I would like to numerically label the fields generated by cocoon; something like as follows.
Field 1: __________
Field 2: __________
Field 3: __________
I figure I could brute force it by writing my own javascript but is there a built-in feature that would help me to do this?
Many thanks for any guidance.