Sha256: e503a64f66c4c1878d0903695a60be0c4103a118c167b45b08371490c91b6361
Contents?: true
Size: 866 Bytes
Versions: 108
Compression:
Stored size: 866 Bytes
Contents
<%= content_tag(:div, id: object.id, data: object.data, class: object.classname) do %> <% if object.inputs == "disabled" %> <%= pb_rails("icon", props: { 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, id: object.input_id, disabled: object.disabled %> <% else %> <%= radio_button_tag object.name, object.value, object.checked, id: object.input_id, disabled: object.disabled %> <% 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
108 entries across 108 versions & 1 rubygems