📅  最后修改于: 2022-03-11 14:59:39.977000             🧑  作者: Mango
<%= form_tag(medication_select_path, method: 'put', :id => 'medication-select') do %>
<% @medications.each do |medication| %>
<%= check_box_tag "medications[]", medication.id -%>
<% end %>
<% end %>