Sha256: f1b2121cbc11ba0711b05d1dfa1a834157a574795388fa52329d74b3ca52087a
Contents?: true
Size: 834 Bytes
Versions: 440
Compression:
Stored size: 834 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, 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
440 entries across 440 versions & 1 rubygems