<%= content_tag(:div, id: object.id, data: object.data, class: object.classname, **combined_html_options) do %> <% if object.multi %> <%= check_box_tag(object.name, object.value, object.checked, object.additional_input_options) %> <% else %> <%= radio_button_tag(object.name, object.value, object.checked, object.additional_input_options) %> <% end %> <% if object.variant == "display_input" %> <% end %> <% end %>