With the select_tag() helper, is there a way to avoid passing an id to the generated element?
If not, what do you do when you have th开发者_StackOverflow社区e same form several times on a page and you want to keep ids unique?
Ah, so here's the solution:
select_tag($name, $option_tags, array('id'=>'label_picker_for_' . $article_id);
精彩评论