Sha256: 09e196e46a4562fc7c06bf781e1de605730e06fb85640d573e78ad4772b8a447
Contents?: true
Size: 896 Bytes
Versions: 553
Compression:
Stored size: 896 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname, **combined_html_options) do %> <% if object.inputs == "disabled" %> <%= pb_rails("icon", props: { custom_icon: object.custom_icon, icon: object.icon, size: "2x" }) %> <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %> <% else %> <% 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 %>"> <%= pb_rails("icon", props: { icon: object.icon, size: "2x" }) %> <%= pb_rails("title", props: { text: object.text, tag: "h4", size: 4 }) %> </label> <% end %> <% end %>
Version data entries
553 entries across 553 versions & 1 rubygems