%= content_tag(:li,
aria: object.aria,
class: object.classname,
data: object.data,
id: object.id,
**combined_html_options) do %>
<% if object.drag_id && object.drag_handle %>
<%= pb_rails("body") do %>
<% end %>
<% end %>
<% if object.variant == "radio"%>
<%= pb_rails("radio", props: { text: object.text, checked: object.checked, input_options: object.input_options } ) %>
<% if content.present? %>
<%= content %>
<% end %>
<% else %>
<%= pb_rails("checkbox", props: { text: object.text, checked: object.checked, input_options: object.input_options } ) %>
<% if content.present? %>
<%= content %>
<% end %>
<% end %>
<% if object.variant == "checkbox"%>
<% else %>
<% end %>
<% end %>