1 2 3 4 5 6 7 8 9 10 11
<index-page> <content-body:> <form action="/question_groups/category"> <%= select("id", nil, QuestionCategory.as_select_opts, {:include_blank => false, :selected => params['id']._?[0].to_i}) %> <submit label="view in this category"/> </form> <collection/> </content-body:> </index-page>