Sha256: 4dd52aa295f99e9499b86e994fec7a9f72d1b90075729a18fd6b81810b39d955
Contents?: true
Size: 755 Bytes
Versions: 47
Compression:
Stored size: 755 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) 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 %> <label for="<%= object.input_id_present %>"> <% if object.children.nil? %> <%= pb_rails("body", props: { text: object.text }) %> <% else %> <%= capture(&object.children) %> <% end %> <% if object.icon %> <div class="pb_selectable_card_circle"> <%= pb_rails("icon", props: { icon: "check", fixed_width: true }) %> </div> <% end %> </label> <% end %>
Version data entries
47 entries across 47 versions & 1 rubygems