I’m trying to create a series of three select boxes in a looping bit of code, thus:
<% for a in @issue.articles %>
<%= f.select(:article+a.page, options_for_select([[a.name, a.id]])) %>
<% end %>
How would I name each select box to be article1, article2, and article3?
Cheers!
If you mean
a.pagehas the number: