Bug with nested forms and multiple templates on the same page

In nested forms, this: `<script id="template-download-<%= field.klass %>" type="text/x-tmpl">` results in duplicated IDs.
It produces the same input IDs inside all nested forms.
e.g. `competition[participants_attributes][0][participant_images_attributes][181][title]` (all forms get the same 0 between [participants_attributes][ _and_ ][participant_images_attributes]).

I appended field.id to it: `template-download-<%= "#{field.klass}-#{field.id}" %>`.
Now every nested form would get separate x-tmpl with unique ID.