我正在尝试将 id 添加(:id => "ratings_form")
到我form_tag
的 in HAML
,但找不到正确的位置
= form_tag movies_path, :method => :get do<br>
Include:<br>
- @movies.all_ratings.each do |rating|<br>
= rating<br>
= check_box_tag "ratings[#{rating}]"<br>
= submit_tag 'Refresh'