Sha256: 81315d07167cdfe844c2ff161ca2202f57e1a3d7b6051d85c36e3a0c15cb81c3
Contents?: true
Size: 797 Bytes
Versions: 147
Compression:
Stored size: 797 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, id: object.input_id_present, disabled: object.disabled %> <% else %> <%= radio_button_tag object.name, object.value, object.checked, id: object.input_id_present, disabled: object.disabled %> <% 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
147 entries across 147 versions & 1 rubygems