Update index.html.erb

Replaced data-template-name with id.