check_box_tag 'receive_email', 'yes', true
# => <input checked="checked" id="receive_email" name="receive_email" type="checkbox" value="yes" />
check_box_tag 'tos', 'yes', false, class: 'accept_tos'
# => <input class="accept_tos" id="tos" name="tos" type="checkbox" value="yes" />
check_box_tag 'eula', 'accepted', false, disabled: true
# => <input disabled="disabled" id="eula" name="eula" type="checkbox" value="accepted" />
<%= form_tag(medication_select_path, method: 'put', :id => 'medication-select') do %>
<% @medications.each do |medication| %>
<%= check_box_tag "medications[]", medication.id -%>
<% end %>
<% end %>